共用方式為


2.2.1.7.6 NETLOGON_CONTROL_QUERY_INFORMATION

The NETLOGON_CONTROL_QUERY_INFORMATION union selects an appropriate NETLOGON_INFO data type, based on the value of the QueryLevel parameter to the NetrLogonControl2Ex method defined in section 3.5.4.9.1.

 typedef 
 [switch_type(DWORD)] 
 union _NETLOGON_CONTROL_QUERY_INFORMATION {
   [case(1)] 
     PNETLOGON_INFO_1 NetlogonInfo1;
   [case(2)] 
     PNETLOGON_INFO_2 NetlogonInfo2;
   [case(3)] 
     PNETLOGON_INFO_3 NetlogonInfo3;
   [case(4)] 
     PNETLOGON_INFO_4 NetlogonInfo4;
   [default]     ;
 } NETLOGON_CONTROL_QUERY_INFORMATION,
  *PNETLOGON_CONTROL_QUERY_INFORMATION;

NetlogonInfo1: This field is selected when the switched DWORD ([MS-DTYP] section 2.2.9) value is 1. For more details about NETLOGON_INFO_1 structure, see section 2.2.1.7.2.

NetlogonInfo2: This field is selected when the switched DWORD value is 2. For more details about NETLOGON_INFO_2 structure, see section 2.2.1.7.3.

NetlogonInfo3: This field is selected when the switched DWORD value is 3. For more details about NETLOGON_INFO_3 structure, see section 2.2.1.7.4.

NetlogonInfo4: This field is selected when the switched DWORD value is 4. For more details about NETLOGON_INFO_4 structure, see section 2.2.1.7.5.