REGERR err; RKEY key; #if !defined(STANDALONE_REGISTRY) && defined(XP_UNIX) HREG hreg; #else RKEY rootkey; #endif
REGERR err; RKEY key; HREG hreg;
VR_INTERFACE(REGERR) VR_InRegistry(char *component_path){	REGERR err;	RKEY key;#if !defined(STANDALONE_REGISTRY) && defined(XP_UNIX)	HREG hreg;#else	RKEY rootkey;#endif	err = vr_Init();	if (err != REGERR_OK)		return err;#if !defined(STANDALONE_REGISTRY) && defined(XP_UNIX)    return vr_FindKey( component_path, &hreg, &key );#else    rootkey = PATH_ROOT(component_path);    return NR_RegGetKey( vreg, rootkey, component_path, &key );#endif}	/* InRegistry */