hreg = vreg;  #if !defined(STANDALONE_REGISTRY) && defined(XP_UNIX)
hreg = vreg;
VR_INTERFACE(REGERR) VR_GetVersion(char *component_path, VERSION *result){	REGERR  err;	RKEY    key;	HREG    hreg;	VERSION ver;	char    buf[MAXREGNAMELEN];#if defined(STANDALONE_REGISTRY) || !defined(XP_UNIX)	RKEY    rootkey;#endif	err = vr_Init();	if (err != REGERR_OK)		return err;	hreg = vreg;	#if !defined(STANDALONE_REGISTRY) && defined(XP_UNIX)    err = vr_FindKey( component_path, &hreg, &key );#else    rootkey = PATH_ROOT(component_path);    err = NR_RegGetKey( vreg, rootkey, component_path, &key );#endif	if (err != REGERR_OK)		return err;    err = NR_RegGetEntryString( hreg, key, VERSTR, buf, sizeof(buf) );	if (err != REGERR_OK)		return err;	vr_ParseVersion(buf, &ver);	memcpy(result, &ver, sizeof(VERSION));	return REGERR_OK;}	/* GetVersion */