Perl: Update "prove" and add its dependencies so it actually works (again)
[msysgit/kirr.git] / mingw / include / userenv.h
blobfad9f813b7c98d5f4a3c76629118d1d37226b3af
1 #ifndef _USERENV_H
2 #define _USERENV_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #define PI_NOUI (1)
11 #define PI_APPLYPOLICY (2)
12 typedef struct _PROFILEINFOA {
13 DWORD dwSize;
14 DWORD dwFlags;
15 LPSTR lpUserName;
16 LPSTR lpProfilePath;
17 LPSTR lpDefaultPath;
18 LPSTR lpServerName;
19 LPSTR lpPolicyPath;
20 HANDLE hProfile;
21 } PROFILEINFOA, *LPPROFILEINFOA;
22 typedef struct _PROFILEINFOW {
23 DWORD dwSize;
24 DWORD dwFlags;
25 LPWSTR lpUserName;
26 LPWSTR lpProfilePath;
27 LPWSTR lpDefaultPath;
28 LPWSTR lpServerName;
29 LPWSTR lpPolicyPath;
30 HANDLE hProfile;
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);
41 #ifdef UNICODE
42 typedef PROFILEINFOW PROFILEINFO;
43 typedef LPPROFILEINFOW LPPROFILEINFO;
44 #define LoadUserProfile LoadUserProfileW
45 #define GetProfilesDirectory GetProfilesDirectoryW
46 #define GetUserProfileDirectory GetUserProfileDirectoryW
47 #else
48 typedef PROFILEINFOA PROFILEINFO;
49 typedef LPPROFILEINFOA LPPROFILEINFO;
50 #define LoadUserProfile LoadUserProfileA
51 #define GetProfilesDirectory GetProfilesDirectoryA
52 #define GetUserProfileDirectory GetUserProfileDirectoryA
53 #endif
54 #ifdef __cplusplus
56 #endif
57 #endif /* _USERENV_H */