The USE_INFO_2_CONTAINER structure contains a value that indicates the number of entries that the NetrUseEnum method (section returns, as well as a pointer to the buffer.

 typedef struct _USE_INFO_2_CONTAINER {
   unsigned long EntriesRead;
   LPUSE_INFO_2 Buffer;

EntriesRead: The number of entries that the method returns.

Buffer: Details about the connection between a machine on which the workstation service is running and a shared resource.