21#ifndef __WINE_DSROLE_H
22#define __WINE_DSROLE_H
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
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_RoleMemberWorkstation
@ DsRole_RoleBackupDomainController
@ DsRole_RoleStandaloneServer
@ DsRole_RoleMemberServer
@ DsRole_RolePrimaryDomainController
@ DsRole_RoleStandaloneWorkstation
_DSROLE_PRIMARY_DOMAIN_INFO_LEVEL
@ DsRolePrimaryDomainInfoBasic
struct _DSROLE_UPGRADE_STATUS_INFO * PDSROLE_UPGRADE_STATUS_INFO
@ DsRoleOperationNeedReboot
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
PULONG MinorVersion OPTIONAL
DSROLE_OPERATION_STATE OperationState
DSROLE_MACHINE_ROLE MachineRole
DSROLE_SERVER_STATE PreviousServerState