VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/dsrole.h@ 69505

Last change on this file since 69505 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: 3.1 KB
Line 
1/*
2 * Directory Services definitions
3 *
4 * Copyright 2005 Paul Vriens
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21/*
22 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
24 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
25 * a choice of LGPL license versions is made available with the language indicating
26 * that LGPLv2 or any later version may be used, or where a choice of which version
27 * of the LGPL is applied is otherwise unspecified.
28 */
29
30#ifndef __WINE_DSROLE_H
31#define __WINE_DSROLE_H
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37#define DSROLE_PRIMARY_DS_RUNNING 0x00000001
38#define DSROLE_PRIMARY_DS_MIXED_MODE 0x00000002
39#define DSROLE_UPGRADE_IN_PROGRESS 0x00000004
40#define DSROLE_PRIMARY_DOMAIN_GUID_PRESENT 0x01000000
41
42typedef enum _DSROLE_PRIMARY_DOMAIN_INFO_LEVEL
43{
44 DsRolePrimaryDomainInfoBasic = 1,
45 DsRoleUpgradeStatus,
46 DsRoleOperationState
47} DSROLE_PRIMARY_DOMAIN_INFO_LEVEL;
48
49typedef enum _DSROLE_MACHINE_ROLE
50{
51 DsRole_RoleStandaloneWorkstation = 0,
52 DsRole_RoleMemberWorkstation,
53 DsRole_RoleStandaloneServer,
54 DsRole_RoleMemberServer,
55 DsRole_RoleBackupDomainController,
56 DsRole_RolePrimaryDomainController
57} DSROLE_MACHINE_ROLE;
58
59typedef enum _DSROLE_SERVER_STATE
60{
61 DsRoleServerUnknown = 0,
62 DsRoleServerPrimary,
63 DsRoleServerBackup
64} DSROLE_SERVER_STATE;
65
66typedef enum _DSROLE_OPERATION_STATE
67{
68 DsRoleOperationIdle = 0,
69 DsRoleOperationActive,
70 DsRoleOperationNeedReboot
71} DSROLE_OPERATION_STATE;
72
73typedef struct _DSROLE_PRIMARY_DOMAIN_INFO_BASIC
74{
75 DSROLE_MACHINE_ROLE MachineRole;
76 ULONG Flags;
77 LPWSTR DomainNameFlat;
78 LPWSTR DomainNameDns;
79 LPWSTR DomainForestName;
80 GUID DomainGuid;
81} DSROLE_PRIMARY_DOMAIN_INFO_BASIC, *PDSROLE_PRIMARY_DOMAIN_INFO_BASIC;
82
83typedef struct _DSROLE_UPGRADE_STATUS_INFO
84{
85 ULONG OperationState;
86 DSROLE_SERVER_STATE PreviousServerState;
87} DSROLE_UPGRADE_STATUS_INFO, *PDSROLE_UPGRADE_STATUS_INFO;
88
89typedef struct _DSROLE_OPERATION_STATE_INFO
90{
91 DSROLE_OPERATION_STATE OperationState;
92} DSROLE_OPERATION_STATE_INFO, *PDSROLE_OPERATION_STATE_INFO;
93
94VOID WINAPI DsRoleFreeMemory(IN PVOID Buffer);
95DWORD WINAPI DsRoleGetPrimaryDomainInformation(IN LPCWSTR lpServer OPTIONAL, IN DSROLE_PRIMARY_DOMAIN_INFO_LEVEL InfoLevel, OUT PBYTE *Buffer);
96
97#ifdef __cplusplus
98}
99#endif
100
101#endif /* __WINE_DSROLE_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