VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/userenv.h@ 53206

Last change on this file since 53206 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 KB
Line 
1/*
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/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_USERENV_H
29#define __WINE_USERENV_H
30
31#include <wbemcli.h>
32#include <profinfo.h>
33
34#define PT_TEMPORARY 0x00000001
35#define PT_ROAMING 0x00000002
36#define PT_MANDATORY 0x00000004
37
38typedef enum _GPO_LINK {
39 GPLinkUnknown = 0,
40 GPLinkMachine,
41 GPLinkSite,
42 GPLinkDomain,
43 GPLinkOrganizationalUnit
44} GPO_LINK, *PGPO_LINK;
45
46typedef struct _GROUP_POLICY_OBJECTA {
47 DWORD dwOptions;
48 DWORD dwVersion;
49 LPSTR lpDSPath;
50 LPSTR lpFileSysPath;
51 LPSTR lpDisplayName;
52 CHAR szGPOName[50];
53 GPO_LINK GPOLink;
54 LPARAM lParam;
55 struct _GROUP_POLICY_OBJECTA *pNext;
56 struct _GROUP_POLICY_OBJECTA *pPrev;
57 LPSTR lpExtensions;
58 LPARAM lParam2;
59 LPSTR lpLink;
60} GROUP_POLICY_OBJECTA, *PGROUP_POLICY_OBJECTA;
61
62typedef struct _GROUP_POLICY_OBJECTW {
63 DWORD dwOptions;
64 DWORD dwVersion;
65 LPWSTR lpDSPath;
66 LPWSTR lpFileSysPath;
67 LPWSTR lpDisplayName;
68 WCHAR szGPOName[50];
69 GPO_LINK GPOLink;
70 LPARAM lParam;
71 struct _GROUP_POLICY_OBJECTW *pNext;
72 struct _GROUP_POLICY_OBJECTW *pPrev;
73 LPWSTR lpExtensions;
74 LPARAM lParam2;
75 LPWSTR lpLink;
76} GROUP_POLICY_OBJECTW, *PGROUP_POLICY_OBJECTW;
77
78DECL_WINELIB_TYPE_AW(GROUP_POLICY_OBJECT)
79DECL_WINELIB_TYPE_AW(PGROUP_POLICY_OBJECT)
80
81#ifdef __cplusplus
82extern "C" {
83#endif
84
85BOOL WINAPI CreateEnvironmentBlock(LPVOID*,HANDLE,BOOL);
86BOOL WINAPI DestroyEnvironmentBlock(LPVOID);
87HANDLE WINAPI EnterCriticalPolicySection(BOOL);
88BOOL WINAPI ExpandEnvironmentStringsForUserA(HANDLE,LPCSTR,LPSTR,DWORD);
89BOOL WINAPI ExpandEnvironmentStringsForUserW(HANDLE,LPCWSTR,LPWSTR,DWORD);
90#define ExpandEnvironmentStringsForUser WINELIB_NAME_AW(ExpandEnvironmentStringsForUser)
91DWORD WINAPI GetAppliedGPOListW(DWORD,LPCWSTR,PSID,GUID*,PGROUP_POLICY_OBJECTW*);
92DWORD WINAPI GetAppliedGPOListA(DWORD,LPCSTR,PSID,GUID*,PGROUP_POLICY_OBJECTA*);
93#define GetAppliedGPOList WINELIB_NAME_AW(GetAppliedGPOList)
94BOOL WINAPI GetUserProfileDirectoryA(HANDLE,LPSTR,LPDWORD);
95BOOL WINAPI GetUserProfileDirectoryW(HANDLE,LPWSTR,LPDWORD);
96#define GetUserProfileDirectory WINELIB_NAME_AW(GetUserProfileDirectory)
97BOOL WINAPI GetProfilesDirectoryA(LPSTR,LPDWORD);
98BOOL WINAPI GetProfilesDirectoryW(LPWSTR,LPDWORD);
99#define GetProfilesDirectory WINELIB_NAME_AW(GetProfilesDirectory)
100BOOL WINAPI GetAllUsersProfileDirectoryA(LPSTR,LPDWORD);
101BOOL WINAPI GetAllUsersProfileDirectoryW(LPWSTR,LPDWORD);
102#define GetAllUsersProfileDirectory WINELIB_NAME_AW(GetAllUsersProfileDirectory)
103BOOL WINAPI GetProfileType(DWORD*);
104BOOL WINAPI LeaveCriticalPolicySection(HANDLE);
105BOOL WINAPI LoadUserProfileA(HANDLE,LPPROFILEINFOA);
106BOOL WINAPI LoadUserProfileW(HANDLE,LPPROFILEINFOW);
107#define LoadUserProfile WINELIB_NAME_AW(LoadUserProfile)
108BOOL WINAPI RegisterGPNotification(HANDLE,BOOL);
109BOOL WINAPI UnloadUserProfile(HANDLE,HANDLE);
110BOOL WINAPI UnregisterGPNotification(HANDLE);
111
112#ifdef __cplusplus
113}
114#endif
115
116#endif /* __WINE_USERENV_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette