Compartilhar via


2.2.1.3.12 NETLOGON_DOMAIN_INFORMATION

The NETLOGON_DOMAIN_INFORMATION union SHOULD<30> select either a NETLOGON_DOMAIN_INFO, as specified in section 2.2.1.3.11, or a NETLOGON_LSA_POLICY_INFO, as specified in section 2.2.1.3.5, data type based on the value of the Level parameter to the NetrLogonGetDomainInfo method, as specified in section 3.5.4.4.10.

 typedef 
 [switch_type(DWORD)] 
 union _NETLOGON_DOMAIN_INFORMATION {
   [case(1)] 
     PNETLOGON_DOMAIN_INFO DomainInfo;
   [case(2)] 
     PNETLOGON_LSA_POLICY_INFO LsaPolicyInfo;
 } NETLOGON_DOMAIN_INFORMATION,
  *PNETLOGON_DOMAIN_INFORMATION;

DomainInfo: This field is selected when the switched DWORD ([MS-DTYP] section 2.2.9) value is set to 0x00000001. The union contains a NETLOGON_DOMAIN_INFO structure, as specified in section 2.2.1.3.11.

LsaPolicyInfo: This field is selected when the switched DWORD value is set to 0x00000002. The union contains a NETLOGON_LSA_POLICY_INFO structure, as specified in section 2.2.1.3.5.