ReactOS 0.4.16-dev-297-gc569aee
dsrole.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DSROLE_PRIMARY_DOMAIN_INFO_BASIC
 
struct  _DSROLE_UPGRADE_STATUS_INFO
 
struct  _DSROLE_OPERATION_STATE_INFO
 

Macros

#define DSROLE_PRIMARY_DS_RUNNING   0x00000001
 
#define DSROLE_PRIMARY_DS_MIXED_MODE   0x00000002
 
#define DSROLE_UPGRADE_IN_PROGRESS   0x00000004
 
#define DSROLE_PRIMARY_DS_READONLY   0x00000008
 
#define DSROLE_PRIMARY_DOMAIN_GUID_PRESENT   0x01000000
 

Typedefs

typedef enum _DSROLE_PRIMARY_DOMAIN_INFO_LEVEL DSROLE_PRIMARY_DOMAIN_INFO_LEVEL
 
typedef enum _DSROLE_MACHINE_ROLE DSROLE_MACHINE_ROLE
 
typedef enum _DSROLE_SERVER_STATE DSROLE_SERVER_STATE
 
typedef enum _DSROLE_OPERATION_STATE DSROLE_OPERATION_STATE
 
typedef struct _DSROLE_PRIMARY_DOMAIN_INFO_BASIC DSROLE_PRIMARY_DOMAIN_INFO_BASIC
 
typedef struct _DSROLE_PRIMARY_DOMAIN_INFO_BASICPDSROLE_PRIMARY_DOMAIN_INFO_BASIC
 
typedef struct _DSROLE_UPGRADE_STATUS_INFO DSROLE_UPGRADE_STATUS_INFO
 
typedef struct _DSROLE_UPGRADE_STATUS_INFOPDSROLE_UPGRADE_STATUS_INFO
 
typedef struct _DSROLE_OPERATION_STATE_INFO DSROLE_OPERATION_STATE_INFO
 
typedef struct _DSROLE_OPERATION_STATE_INFOPDSROLE_OPERATION_STATE_INFO
 

Enumerations

enum  _DSROLE_PRIMARY_DOMAIN_INFO_LEVEL {
  DsRolePrimaryDomainInfoBasic = 1 , DsRoleUpgradeStatus , DsRoleOperationState , DsRolePrimaryDomainInfoBasic = 1 ,
  DsRoleUpgradeStatus , DsRoleOperationState
}
 
enum  _DSROLE_MACHINE_ROLE {
  DsRole_RoleStandaloneWorkstation = 0 , DsRole_RoleMemberWorkstation , DsRole_RoleStandaloneServer , DsRole_RoleMemberServer ,
  DsRole_RoleBackupDomainController , DsRole_RolePrimaryDomainController , DsRole_RoleStandaloneWorkstation , DsRole_RoleMemberWorkstation ,
  DsRole_RoleStandaloneServer , DsRole_RoleMemberServer , DsRole_RoleBackupDomainController , DsRole_RolePrimaryDomainController
}
 
enum  _DSROLE_SERVER_STATE {
  DsRoleServerUnknown = 0 , DsRoleServerPrimary , DsRoleServerBackup , DsRoleServerUnknown = 0 ,
  DsRoleServerPrimary , DsRoleServerBackup
}
 
enum  _DSROLE_OPERATION_STATE {
  DsRoleOperationIdle = 0 , DsRoleOperationActive , DsRoleOperationNeedReboot , DsRoleOperationIdle = 0 ,
  DsRoleOperationActive , DsRoleOperationNeedReboot
}
 

Functions

VOID WINAPI DsRoleFreeMemory (IN PVOID Buffer)
 
DWORD WINAPI DsRoleGetPrimaryDomainInformation (IN LPCWSTR lpServer OPTIONAL, IN DSROLE_PRIMARY_DOMAIN_INFO_LEVEL InfoLevel, OUT PBYTE *Buffer)
 

Macro Definition Documentation

◆ DSROLE_PRIMARY_DOMAIN_GUID_PRESENT

#define DSROLE_PRIMARY_DOMAIN_GUID_PRESENT   0x01000000

Definition at line 28 of file dsrole.h.

◆ DSROLE_PRIMARY_DS_MIXED_MODE

#define DSROLE_PRIMARY_DS_MIXED_MODE   0x00000002

Definition at line 25 of file dsrole.h.

◆ DSROLE_PRIMARY_DS_READONLY

#define DSROLE_PRIMARY_DS_READONLY   0x00000008

Definition at line 27 of file dsrole.h.

◆ DSROLE_PRIMARY_DS_RUNNING

#define DSROLE_PRIMARY_DS_RUNNING   0x00000001

Definition at line 24 of file dsrole.h.

◆ DSROLE_UPGRADE_IN_PROGRESS

#define DSROLE_UPGRADE_IN_PROGRESS   0x00000004

Definition at line 26 of file dsrole.h.

Typedef Documentation

◆ DSROLE_MACHINE_ROLE

◆ DSROLE_OPERATION_STATE

◆ DSROLE_OPERATION_STATE_INFO

◆ DSROLE_PRIMARY_DOMAIN_INFO_BASIC

◆ DSROLE_PRIMARY_DOMAIN_INFO_LEVEL

◆ DSROLE_SERVER_STATE

◆ DSROLE_UPGRADE_STATUS_INFO

◆ PDSROLE_OPERATION_STATE_INFO

◆ PDSROLE_PRIMARY_DOMAIN_INFO_BASIC

◆ PDSROLE_UPGRADE_STATUS_INFO

Enumeration Type Documentation

◆ _DSROLE_MACHINE_ROLE

Enumerator
DsRole_RoleStandaloneWorkstation 
DsRole_RoleMemberWorkstation 
DsRole_RoleStandaloneServer 
DsRole_RoleMemberServer 
DsRole_RoleBackupDomainController 
DsRole_RolePrimaryDomainController 
DsRole_RoleStandaloneWorkstation 
DsRole_RoleMemberWorkstation 
DsRole_RoleStandaloneServer 
DsRole_RoleMemberServer 
DsRole_RoleBackupDomainController 
DsRole_RolePrimaryDomainController 

Definition at line 37 of file 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
enum _DSROLE_MACHINE_ROLE DSROLE_MACHINE_ROLE

◆ _DSROLE_OPERATION_STATE

Enumerator
DsRoleOperationIdle 
DsRoleOperationActive 
DsRoleOperationNeedReboot 
DsRoleOperationIdle 
DsRoleOperationActive 
DsRoleOperationNeedReboot 

Definition at line 54 of file 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

◆ _DSROLE_PRIMARY_DOMAIN_INFO_LEVEL

Enumerator
DsRolePrimaryDomainInfoBasic 
DsRoleUpgradeStatus 
DsRoleOperationState 
DsRolePrimaryDomainInfoBasic 
DsRoleUpgradeStatus 
DsRoleOperationState 

Definition at line 30 of file dsrole.h.

31{
@ DsRolePrimaryDomainInfoBasic
Definition: dsrole.h:32
@ DsRoleUpgradeStatus
Definition: dsrole.h:33
@ DsRoleOperationState
Definition: dsrole.h:34
enum _DSROLE_PRIMARY_DOMAIN_INFO_LEVEL DSROLE_PRIMARY_DOMAIN_INFO_LEVEL

◆ _DSROLE_SERVER_STATE

Enumerator
DsRoleServerUnknown 
DsRoleServerPrimary 
DsRoleServerBackup 
DsRoleServerUnknown 
DsRoleServerPrimary 
DsRoleServerBackup 

Definition at line 47 of file dsrole.h.

48{
@ DsRoleServerUnknown
Definition: dsrole.h:49
@ DsRoleServerPrimary
Definition: dsrole.h:50
@ DsRoleServerBackup
Definition: dsrole.h:51
enum _DSROLE_SERVER_STATE DSROLE_SERVER_STATE

Function Documentation

◆ DsRoleFreeMemory()

VOID WINAPI DsRoleFreeMemory ( IN PVOID  Buffer)

◆ DsRoleGetPrimaryDomainInformation()

DWORD WINAPI DsRoleGetPrimaryDomainInformation ( IN LPCWSTR lpServer  OPTIONAL,
IN DSROLE_PRIMARY_DOMAIN_INFO_LEVEL  InfoLevel,
OUT PBYTE Buffer 
)