共用方式為


2.2.1.3.9 NETLOGON_WORKSTATION_INFORMATION

The NETLOGON_WORKSTATION_INFORMATION union SHOULD<26> select between two parameters of type NETLOGON_WORKSTATION_INFO structure, as specified in section 2.2.1.3.6, based on the value of the Level parameter of the NetrLogonGetDomainInfo method, as specified in section 3.5.4.4.10.

 typedef 
 [switch_type(DWORD)] 
 union _NETLOGON_WORKSTATION_INFORMATION {
   [case(1)] 
     PNETLOGON_WORKSTATION_INFO WorkstationInfo;
   [case(2)] 
     PNETLOGON_WORKSTATION_INFO LsaPolicyInfo;
 } NETLOGON_WORKSTATION_INFORMATION,
  *PNETLOGON_WORKSTATION_INFORMATION;

WorkstationInfo: Field is selected when the switched DWORD ([MS-DTYP] section 2.2.9) constant is 0x00000001.

LsaPolicyInfo: Field is selected when the switched DWORD constant is 0x00000002.