Compartir a través de


2.2.5.29 USE_ENUM_STRUCT

The USE_ENUM_STRUCT structure is used by the NetrUseEnum method (section 3.2.4.10) to encapsulate the _USE_ENUM_UNION union.

 typedef struct _USE_ENUM_STRUCT {
   DWORD Level;
   [switch_is(Level)] union _USE_ENUM_UNION {
     [case(0)] 
       LPUSE_INFO_0_CONTAINER Level0;
     [case(1)] 
       LPUSE_INFO_1_CONTAINER Level1;
     [case(2)] 
       LPUSE_INFO_2_CONTAINER Level2;
     [default];
   } UseInfo;
 } USE_ENUM_STRUCT,
  *PUSE_ENUM_STRUCT,
  *LPUSE_ENUM_STRUCT;

Level: A value that specifies the information level of the data. This parameter MUST be one of the following values.

Value

Meaning

0x00000000

The UseInfo buffer is a USE_INFO_0 structure (section 2.2.5.22).

0x00000001

The UseInfo buffer is a USE_INFO_1 structure (section 2.2.5.23).

0x00000002

The UseInfo buffer is a USE_INFO_2 structure (section 2.2.5.24).

UseInfo: A buffer containing any one of the USE_INFO_0, USE_INFO_1, or USE_INFO_2 structures.