ReactOS 0.4.16-dev-297-gc569aee
dsrole.h
Go to the documentation of this file.
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 Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#ifndef __WINE_DSROLE_H
22#define __WINE_DSROLE_H
23
24#define DSROLE_PRIMARY_DS_RUNNING 0x00000001
25#define DSROLE_PRIMARY_DS_MIXED_MODE 0x00000002
26#define DSROLE_UPGRADE_IN_PROGRESS 0x00000004
27#define DSROLE_PRIMARY_DS_READONLY 0x00000008
28#define DSROLE_PRIMARY_DOMAIN_GUID_PRESENT 0x01000000
29
31{
36
38{
46
48{
53
55{
60
62{
70
72{
76
78{
81
84
85#endif /* __WINE_DSROLE_H */
Definition: bufpool.h:45
_DSROLE_SERVER_STATE
Definition: dsrole.h:48
@ DsRoleServerUnknown
Definition: dsrole.h:49
@ DsRoleServerPrimary
Definition: dsrole.h:50
@ DsRoleServerBackup
Definition: dsrole.h:51
struct _DSROLE_UPGRADE_STATUS_INFO DSROLE_UPGRADE_STATUS_INFO
enum _DSROLE_SERVER_STATE DSROLE_SERVER_STATE
DWORD WINAPI DsRoleGetPrimaryDomainInformation(IN LPCWSTR lpServer OPTIONAL, IN DSROLE_PRIMARY_DOMAIN_INFO_LEVEL InfoLevel, OUT PBYTE *Buffer)
struct _DSROLE_PRIMARY_DOMAIN_INFO_BASIC DSROLE_PRIMARY_DOMAIN_INFO_BASIC
VOID WINAPI DsRoleFreeMemory(IN PVOID Buffer)
_DSROLE_MACHINE_ROLE
Definition: dsrole.h:38
@ DsRole_RoleMemberWorkstation
Definition: dsrole.h:40
@ DsRole_RoleBackupDomainController
Definition: dsrole.h:43
@ DsRole_RoleStandaloneServer
Definition: dsrole.h:41
@ DsRole_RoleMemberServer
Definition: dsrole.h:42
@ DsRole_RolePrimaryDomainController
Definition: dsrole.h:44
@ DsRole_RoleStandaloneWorkstation
Definition: dsrole.h:39
_DSROLE_PRIMARY_DOMAIN_INFO_LEVEL
Definition: dsrole.h:31
@ DsRolePrimaryDomainInfoBasic
Definition: dsrole.h:32
@ DsRoleUpgradeStatus
Definition: dsrole.h:33
@ DsRoleOperationState
Definition: dsrole.h:34
struct _DSROLE_UPGRADE_STATUS_INFO * PDSROLE_UPGRADE_STATUS_INFO
_DSROLE_OPERATION_STATE
Definition: dsrole.h:55
@ DsRoleOperationNeedReboot
Definition: dsrole.h:58
@ DsRoleOperationActive
Definition: dsrole.h:57
@ DsRoleOperationIdle
Definition: dsrole.h:56
enum _DSROLE_OPERATION_STATE DSROLE_OPERATION_STATE
struct _DSROLE_PRIMARY_DOMAIN_INFO_BASIC * PDSROLE_PRIMARY_DOMAIN_INFO_BASIC
struct _DSROLE_OPERATION_STATE_INFO * PDSROLE_OPERATION_STATE_INFO
struct _DSROLE_OPERATION_STATE_INFO DSROLE_OPERATION_STATE_INFO
enum _DSROLE_PRIMARY_DOMAIN_INFO_LEVEL DSROLE_PRIMARY_DOMAIN_INFO_LEVEL
enum _DSROLE_MACHINE_ROLE DSROLE_MACHINE_ROLE
enum _DSROLE_SERVER_STATE DSROLE_SERVER_STATE
enum _DSROLE_OPERATION_STATE DSROLE_OPERATION_STATE
unsigned long DWORD
Definition: ntddk_ex.h:95
BYTE * PBYTE
Definition: pedump.c:66
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
DSROLE_OPERATION_STATE OperationState
Definition: dsrole.h:79
DSROLE_MACHINE_ROLE MachineRole
Definition: dsrole.h:63
DSROLE_SERVER_STATE PreviousServerState
Definition: dsrole.h:74
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
#define WINAPI
Definition: msvc.h:6
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185