27 #include <winpr/winpr.h>
28 #include <winpr/wtypes.h>
44 DWORD dwFileAttributes;
60 DWORD dwFileAttributes;
72 FD_CLSID = 0x00000001,
73 FD_SIZEPOINT = 0x00000002,
74 FD_ATTRIBUTES = 0x00000004,
75 FD_CREATETIME = 0x00000008,
76 FD_ACCESSTIME = 0x00000010,
77 FD_WRITESTIME = 0x00000020,
78 FD_FILESIZE = 0x00000040,
79 FD_PROGRESSUI = 0x00004000,
80 FD_LINKUI = 0x00008000,
82 #define FD_UNICODE 0x80000000
85 #define FD_SHOWPROGRESSUI FD_PROGRESSUI
92 WINPR_API BOOL GetUserProfileDirectoryA(HANDLE hToken, LPSTR lpProfileDir, LPDWORD lpcchSize);
94 WINPR_API BOOL GetUserProfileDirectoryW(HANDLE hToken, LPWSTR lpProfileDir, LPDWORD lpcchSize);
101 #define GetUserProfileDirectory GetUserProfileDirectoryW
103 #define GetUserProfileDirectory GetUserProfileDirectoryA