push 4198651bda69323c5c7f7710f437846e02cfc104
[wine/hacks.git] / include / userenv.h
blob20d7fa1f36065fb87dfa1e4b1e9f6f15cd9a331e
1 /*
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> */
23 #include <profinfo.h>
25 #define PT_TEMPORARY 0x00000001
26 #define PT_ROAMING 0x00000002
27 #define PT_MANDATORY 0x00000004
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
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 UnloadUserProfile(HANDLE,HANDLE);
49 BOOL WINAPI UnregisterGPNotification(HANDLE);
51 #ifdef __cplusplus
53 #endif
55 #endif /* __WINE_USERENV_H */