ReactOS  0.4.14-dev-1256-g2125fec
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_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 27 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_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 36 of file dsrole.h.

◆ _DSROLE_OPERATION_STATE

Enumerator
DsRoleOperationIdle 
DsRoleOperationActive 
DsRoleOperationNeedReboot 
DsRoleOperationIdle 
DsRoleOperationActive 
DsRoleOperationNeedReboot 

Definition at line 53 of file dsrole.h.

◆ _DSROLE_PRIMARY_DOMAIN_INFO_LEVEL

Enumerator
DsRolePrimaryDomainInfoBasic 
DsRoleUpgradeStatus 
DsRoleOperationState 
DsRolePrimaryDomainInfoBasic 
DsRoleUpgradeStatus 
DsRoleOperationState 

Definition at line 29 of file dsrole.h.

◆ _DSROLE_SERVER_STATE

Enumerator
DsRoleServerUnknown 
DsRoleServerPrimary 
DsRoleServerBackup 
DsRoleServerUnknown 
DsRoleServerPrimary 
DsRoleServerBackup 

Definition at line 46 of file dsrole.h.

47 {
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 
)