d3dcompiler: Handle simple struct initializers.
[wine.git] / include / userenv.h
blob136c7f643d038bfcfa48d86074a96268f1a0ab21
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 #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 DestroyEnvironmentBlock(LPVOID);
35 BOOL WINAPI ExpandEnvironmentStringsForUserA(HANDLE,LPCSTR,LPSTR,DWORD);
36 BOOL WINAPI ExpandEnvironmentStringsForUserW(HANDLE,LPCWSTR,LPWSTR,DWORD);
37 #define ExpandEnvironmentStringsForUser WINELIB_NAME_AW(ExpandEnvironmentStringsForUser)
38 BOOL WINAPI GetUserProfileDirectoryA(HANDLE,LPSTR,LPDWORD);
39 BOOL WINAPI GetUserProfileDirectoryW(HANDLE,LPWSTR,LPDWORD);
40 #define GetUserProfileDirectory WINELIB_NAME_AW(GetUserProfileDirectory)
41 BOOL WINAPI GetProfilesDirectoryA(LPSTR,LPDWORD);
42 BOOL WINAPI GetProfilesDirectoryW(LPWSTR,LPDWORD);
43 #define GetProfilesDirectory WINELIB_NAME_AW(GetProfilesDirectory)
44 BOOL WINAPI GetAllUsersProfileDirectoryA(LPSTR,LPDWORD);
45 BOOL WINAPI GetAllUsersProfileDirectoryW(LPWSTR,LPDWORD);
46 #define GetAllUsersProfileDirectory WINELIB_NAME_AW(GetAllUsersProfileDirectory)
47 BOOL WINAPI GetProfileType(DWORD*);
48 BOOL WINAPI LoadUserProfileA(HANDLE,LPPROFILEINFOA);
49 BOOL WINAPI LoadUserProfileW(HANDLE,LPPROFILEINFOW);
50 #define LoadUserProfile WINELIB_NAME_AW(LoadUserProfile)
51 BOOL WINAPI RegisterGPNotification(HANDLE,BOOL);
52 BOOL WINAPI UnloadUserProfile(HANDLE,HANDLE);
53 BOOL WINAPI UnregisterGPNotification(HANDLE);
55 #ifdef __cplusplus
57 #endif
59 #endif /* __WINE_USERENV_H */