4 #pragma GCC system_header
11 #define PI_APPLYPOLICY (2)
12 typedef struct _PROFILEINFOA
{
21 } PROFILEINFOA
, *LPPROFILEINFOA
;
22 typedef struct _PROFILEINFOW
{
31 } PROFILEINFOW
, *LPPROFILEINFOW
;
32 BOOL WINAPI
LoadUserProfileA(HANDLE
,LPPROFILEINFOA
);
33 BOOL WINAPI
LoadUserProfileW(HANDLE
,LPPROFILEINFOW
);
34 BOOL WINAPI
UnloadUserProfile(HANDLE
,HANDLE
);
35 BOOL WINAPI
GetProfilesDirectoryA(LPSTR
,LPDWORD
);
36 BOOL WINAPI
GetProfilesDirectoryW(LPWSTR
,LPDWORD
);
37 BOOL WINAPI
GetUserProfileDirectoryA(HANDLE
,LPSTR
,LPDWORD
);
38 BOOL WINAPI
GetUserProfileDirectoryW(HANDLE
,LPWSTR
,LPDWORD
);
39 BOOL WINAPI
CreateEnvironmentBlock(LPVOID
*,HANDLE
,BOOL
);
40 BOOL WINAPI
DestroyEnvironmentBlock(LPVOID
);
42 typedef PROFILEINFOW PROFILEINFO
;
43 typedef LPPROFILEINFOW LPPROFILEINFO
;
44 #define LoadUserProfile LoadUserProfileW
45 #define GetProfilesDirectory GetProfilesDirectoryW
46 #define GetUserProfileDirectory GetUserProfileDirectoryW
48 typedef PROFILEINFOA PROFILEINFO
;
49 typedef LPPROFILEINFOA LPPROFILEINFO
;
50 #define LoadUserProfile LoadUserProfileA
51 #define GetProfilesDirectory GetProfilesDirectoryA
52 #define GetUserProfileDirectory GetUserProfileDirectoryA
57 #endif /* _USERENV_H */