Compartilhar via


PFNRECONCILEPROFILE function pointer

[The PFNRECONCILEPROFILE callback is not supported as of Windows Vista. ]

The PFNRECONCILEPROFILE callback is the prototype of a function that reconciles a local profile with its corresponding global profile.

Syntax

typedef UINT ( CALLBACK *PFNRECONCILEPROFILE)(
   LPCTSTR pszCentralFile,
   LPCTSTR pszLocalFile,
   DWORD   dwFlags
);

Parameters

  • pszCentralFile
    Pointer to a zero-terminated string that contains the global user profile.

  • pszLocalFile
    Pointer to a zero-terminated string that contains the local user profile.

  • dwFlags
    A set of flags that describe how reconciliation should occur.

    Value Meaning
    RP_LOGON 0x01

    If set, profile reconciliation occurs when the associated user logs in; otherwise, it occurs when the user logs off.

    RP_INIFILE 0x02

    If set, the profile is reconciled with the user profile INI file instead of the registry.

     

Return value

If the callback is successful, the return value is 0.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Winnetwk.h

Unicode and ANSI names

PFNRECONCILEPROFILEW (Unicode) and PFNRECONCILEPROFILEA (ANSI)

See also

PFNGETPROFILEPATH

PFNPROCESSPOLICIES