2 * Copyright (C) 2007 Francois Gouget
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_USERENV_H
20 #define __WINE_USERENV_H
22 /* FIXME: #include <wbemcli.h> */
25 #define PT_TEMPORARY 0x00000001
26 #define PT_ROAMING 0x00000002
27 #define PT_MANDATORY 0x00000004
33 BOOL WINAPI
CreateEnvironmentBlock(LPVOID
*,HANDLE
,BOOL
);
34 BOOL WINAPI
ExpandEnvironmentStringsForUserA(HANDLE
,LPCSTR
,LPSTR
,DWORD
);
35 BOOL WINAPI
ExpandEnvironmentStringsForUserW(HANDLE
,LPCWSTR
,LPWSTR
,DWORD
);
36 #define ExpandEnvironmentStringsForUser WINELIB_NAME_AW(ExpandEnvironmentStringsForUser)
37 BOOL WINAPI
GetUserProfileDirectoryA(HANDLE
,LPSTR
,LPDWORD
);
38 BOOL WINAPI
GetUserProfileDirectoryW(HANDLE
,LPWSTR
,LPDWORD
);
39 #define GetUserProfileDirectory WINELIB_NAME_AW(GetUserProfileDirectory)
40 BOOL WINAPI
GetProfilesDirectoryA(LPSTR
,LPDWORD
);
41 BOOL WINAPI
GetProfilesDirectoryW(LPWSTR
,LPDWORD
);
42 #define GetProfilesDirectory WINELIB_NAME_AW(GetProfilesDirectory)
43 BOOL WINAPI
GetProfileType(DWORD
*);
44 BOOL WINAPI
LoadUserProfileA(HANDLE
,LPPROFILEINFOA
);
45 BOOL WINAPI
LoadUserProfileW(HANDLE
,LPPROFILEINFOW
);
46 #define LoadUserProfile WINELIB_NAME_AW(LoadUserProfile)
47 BOOL WINAPI
RegisterGPNotification(HANDLE
,BOOL
);
48 BOOL WINAPI
UnregisterGPNotification(HANDLE
);
54 #endif /* __WINE_USERENV_H */