How to obtain the user login documents folder in C++
TCHAR strPath[ MAX_PATH ];
// Get the special folder path.
SHGetSpecialFolderPath(
0, // Hwnd
strPath, // String buffer.
CSIDL_PERSONAL, // CSLID of folder
FALSE ); // Create if doesn't exists?
No comments:
Post a Comment