共用方式為


2.2.4.23 SHARE_INFO_1

The SHARE_INFO_1 structure contains information about the shared resource, including the name and type of the resource and a comment associated with the resource. For a description of the fields in this structure, see the description for the SHARE_INFO_502_I (section 2.2.4.26) structure (shi1_xxx denotes the same information as shi502_xxx).

 typedef struct _SHARE_INFO_1 {
   [string] wchar_t* shi1_netname;
   DWORD shi1_type;
   [string] wchar_t* shi1_remark;
 } SHARE_INFO_1,
  *PSHARE_INFO_1,
  *LPSHARE_INFO_1;