GetUserDirectory (Windows Embedded CE 6.0)
1/6/2010
This function obtains user directory information.
Syntax
BOOL GetUserDirectory(
LPWSTR lpszBuffer,
LPDWORD lpdwSize
);
Parameters
- lpszBuffer
[in] Pointer to a string buffer that receives the full path to the current user's profile.
- lpdwSize
[in] Size of the string buffer.
Return Value
TRUE indicates success. FALSE indicates failure. If no user is currently logged on, this function fails, and GetLastError returns ERROR_PATH_NOT_FOUND.
Requirements
Header | pwinreg.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
User Management Functions
SetCurrentUser