共用方式為


2.2.3.1 CONNECT_ENUM_UNION

The CONNECT_ENUM_UNION union contains information about a connection. It is used in the definition of the CONNECTION_ENUM_STRUCT structure.

 typedef 
 [switch_type(DWORD)] 
 union _CONNECT_ENUM_UNION {
   [case(0)] 
    CONNECT_INFO_0_CONTAINER* Level0;
   [case(1)] 
    CONNECT_INFO_1_CONTAINER* Level1;
 } CONNECT_ENUM_UNION;

Level0: A pointer to a structure containing information about a connection, as specified in section 2.2.4.3.

Level1: A pointer to a structure containing information about a connection, as specified in section 2.2.4.4.