2.2.4.24 SHARE_INFO_2

The SHARE_INFO_2 structure contains information about the shared resource, including the name, type, and permissions of the resource, comments associated with the resource, the maximum number of concurrent connections, the number of current connections, the local path for the resource, and a password for the current connection. For a description of the fields in this structure, see the description for the SHARE_INFO_502_I (section 2.2.4.26) structure (shi2_xxx denotes the same information as shi502_xxx).

 typedef struct _SHARE_INFO_2 {
   [string] wchar_t* shi2_netname;
   DWORD shi2_type;
   [string] wchar_t* shi2_remark;
   DWORD shi2_permissions;
   DWORD shi2_max_uses;
   DWORD shi2_current_uses;
   [string] wchar_t* shi2_path;
   [string] wchar_t* shi2_passwd;
 } SHARE_INFO_2,
  *PSHARE_INFO_2,
  *LPSHARE_INFO_2;