Share via


PFNGETPROFILEPATH function pointer

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

The PFNGETPROFILEPATH callback is a prototype for a function that obtains a user profile path.

Syntax

typedef UINT ( CALLBACK *PFNGETPROFILEPATH)(
   LPCTSTR pszUserName,
   LPTSTR  pszBuffer,
   UINT    cbBuffer
);

Parameters

  • pszUserName
    Pointer to a zero-terminated string that contains the user's login name.

  • pszBuffer
    Pointer to a zero-terminated string that contains the user profile path upon return.

  • cbBuffer
    The size of pszBuffer upon return, in bytes.

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

PFNGETPROFILEPATHW (Unicode) and PFNGETPROFILEPATHA (ANSI)

See also

PFNPROCESSPOLICIES

PFNRECONCILEPROFILE