blob: 20d7fa1f36065fb87dfa1e4b1e9f6f15cd9a331e [file] [log] [blame]
Francois Gouget41c6d232007-08-09 17:24:19 +02001/*
2 * Copyright (C) 2007 Francois Gouget
3 *
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.
8 *
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.
13 *
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
17 */
18
19#ifndef __WINE_USERENV_H
20#define __WINE_USERENV_H
21
22/* FIXME: #include <wbemcli.h> */
23#include <profinfo.h>
24
25#define PT_TEMPORARY 0x00000001
26#define PT_ROAMING 0x00000002
27#define PT_MANDATORY 0x00000004
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33BOOL WINAPI CreateEnvironmentBlock(LPVOID*,HANDLE,BOOL);
34BOOL WINAPI ExpandEnvironmentStringsForUserA(HANDLE,LPCSTR,LPSTR,DWORD);
35BOOL WINAPI ExpandEnvironmentStringsForUserW(HANDLE,LPCWSTR,LPWSTR,DWORD);
36#define ExpandEnvironmentStringsForUser WINELIB_NAME_AW(ExpandEnvironmentStringsForUser)
37BOOL WINAPI GetUserProfileDirectoryA(HANDLE,LPSTR,LPDWORD);
38BOOL WINAPI GetUserProfileDirectoryW(HANDLE,LPWSTR,LPDWORD);
39#define GetUserProfileDirectory WINELIB_NAME_AW(GetUserProfileDirectory)
40BOOL WINAPI GetProfilesDirectoryA(LPSTR,LPDWORD);
41BOOL WINAPI GetProfilesDirectoryW(LPWSTR,LPDWORD);
42#define GetProfilesDirectory WINELIB_NAME_AW(GetProfilesDirectory)
43BOOL WINAPI GetProfileType(DWORD*);
44BOOL WINAPI LoadUserProfileA(HANDLE,LPPROFILEINFOA);
45BOOL WINAPI LoadUserProfileW(HANDLE,LPPROFILEINFOW);
46#define LoadUserProfile WINELIB_NAME_AW(LoadUserProfile)
47BOOL WINAPI RegisterGPNotification(HANDLE,BOOL);
Rob Shearmanac7e2212007-09-20 22:58:59 +010048BOOL WINAPI UnloadUserProfile(HANDLE,HANDLE);
Francois Gouget41c6d232007-08-09 17:24:19 +020049BOOL WINAPI UnregisterGPNotification(HANDLE);
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* __WINE_USERENV_H */