Compartir a través de


2.2.4.38 SHARE_ENUM_STRUCT

The SHARE_ENUM_STRUCT structure specifies the information level that the client requests in the NetrShareEnum method and encapsulates the SHARE_ENUM_UNION union that receives the entries enumerated by the server.

 typedef struct _SHARE_ENUM_STRUCT {
   DWORD Level;
   [switch_is(Level)] SHARE_ENUM_UNION ShareInfo;
 } SHARE_ENUM_STRUCT,
  *PSHARE_ENUM_STRUCT,
  *LPSHARE_ENUM_STRUCT;

Level: Specifies the information level of the data. This parameter MUST have one of the following values.

Value

Meaning

0

SHARE_INFO_0_CONTAINER

1

SHARE_INFO_1_CONTAINER

2

SHARE_INFO_2_CONTAINER

501

SHARE_INFO_501_CONTAINER

502

SHARE_INFO_502_CONTAINER

503

SHARE_INFO_503_CONTAINER

ShareInfo: Contains a share information container whose type is specified by the Level parameter as the preceding table shows. The enumerated share entries are returned in this member.