共用方式為


2.2.4.34 SHARE_INFO_2_CONTAINER

The SHARE_INFO_2_CONTAINER structure contains a value that indicates the number of entries that the NetrShareEnum method returns and a pointer to the buffer that contains the entries.

 typedef struct _SHARE_INFO_2_CONTAINER {
   DWORD EntriesRead;
   [size_is(EntriesRead)] LPSHARE_INFO_2 Buffer;
 } SHARE_INFO_2_CONTAINER,
  *PSHARE_INFO_2_CONTAINER,
  *LPSHARE_INFO_2_CONTAINER;

EntriesRead: The number of entries returned by the method.

Buffer: A pointer to the SHARE_INFO_2 entries returned by the method.