2.2.3 DSROLE_OPERATION_STATE_INFO

The DSROLE_OPERATION_STATE_INFO structure contains the status of a pending domain controller (DC) domain membership role change operation, if any, for the computer.

 typedef struct _DSROLE_OPERATION_STATE_INFO {
   DSROLE_OPERATION_STATE OperationState;
 } DSROLE_OPERATION_STATE_INFO,
  *PDSROLE_OPERATION_STATE_INFO;

OperationState: The domain membership role change status of the computer, as specified by a DSROLE_OPERATION_STATE enumeration.