*name = XP_STRDUP(nr_GetUsername());
reg = ((REGHANDLE*)hReg)->pReg;
VR_INTERFACE(REGERR) NR_RegGetUsername(char **name){    /* XXX: does this need locking? */    if ( name == NULL )        return REGERR_PARAM;    *name = XP_STRDUP(nr_GetUsername());    if ( NULL == *name )        return REGERR_MEMORY;    return REGERR_OK;}