dsrole.h header

This header is used by Active Directory Domain Services. For more information, see:

dsrole.h contains the following programming interfaces:

Functions

 
DsRoleFreeMemory

Frees memory allocated by the DsRoleGetPrimaryDomainInformation function.
DsRoleGetPrimaryDomainInformation

Retrieves state data for the computer.

Structures

 
DSROLE_OPERATION_STATE_INFO

Used with the DsRoleGetPrimaryDomainInformation function to contain the operational state data for a computer.
DSROLE_PRIMARY_DOMAIN_INFO_BASIC

Used with the DsRoleGetPrimaryDomainInformation function to contain domain data.
DSROLE_UPGRADE_STATUS_INFO

Used with the DsRoleGetPrimaryDomainInformation function to contain domain upgrade status data.

Enumerations

 
DSROLE_MACHINE_ROLE

Used with the MachineRole member of the DSROLE_PRIMARY_DOMAIN_INFO_BASIC structure to specify the computer role.
DSROLE_OPERATION_STATE

Used with the DSROLE_OPERATION_STATE_INFO structure to indicate the operational state of a computer.
DSROLE_PRIMARY_DOMAIN_INFO_LEVEL

Used with the DsRoleGetPrimaryDomainInformation function to specify the type of data to retrieve.
DSROLE_SERVER_STATE

Used with the DSROLE_UPGRADE_STATUS_INFO structure to indicate the role of a server.