Compartir a través de


2.2.3.17 SAMPR_DOMAIN_INFO_BUFFER

The SAMPR_DOMAIN_INFO_BUFFER union combines all possible structures used in the SamrSetInformationDomain and SamrQueryInformationDomain methods. For details on each field, see the associated section for each field structure.

 typedef 
 [switch_type(DOMAIN_INFORMATION_CLASS)] 
 union _SAMPR_DOMAIN_INFO_BUFFER {
   [case(DomainPasswordInformation)] 
     DOMAIN_PASSWORD_INFORMATION Password;
   [case(DomainGeneralInformation)] 
     SAMPR_DOMAIN_GENERAL_INFORMATION General;
   [case(DomainLogoffInformation)] 
     DOMAIN_LOGOFF_INFORMATION Logoff;
   [case(DomainOemInformation)] 
     SAMPR_DOMAIN_OEM_INFORMATION Oem;
   [case(DomainNameInformation)] 
     SAMPR_DOMAIN_NAME_INFORMATION Name;
   [case(DomainServerRoleInformation)] 
     DOMAIN_SERVER_ROLE_INFORMATION Role;
   [case(DomainReplicationInformation)] 
     SAMPR_DOMAIN_REPLICATION_INFORMATION Replication;
   [case(DomainModifiedInformation)] 
     DOMAIN_MODIFIED_INFORMATION Modified;
   [case(DomainStateInformation)] 
     DOMAIN_STATE_INFORMATION State;
   [case(DomainGeneralInformation2)] 
     SAMPR_DOMAIN_GENERAL_INFORMATION2 General2;
   [case(DomainLockoutInformation)] 
     SAMPR_DOMAIN_LOCKOUT_INFORMATION Lockout;
   [case(DomainModifiedInformation2)] 
     DOMAIN_MODIFIED_INFORMATION2 Modified2;
 } SAMPR_DOMAIN_INFO_BUFFER,
  *PSAMPR_DOMAIN_INFO_BUFFER;