The SHARE_INFO_501 structure contains information about the shared resource, including the name and type of the resource and a comment that is associated with the resource. For a description of the fields in this structure, see the description for the SHARE_INFO_502_I (section structure (shi501_netname, shi501_type, and shi501_remark denote the same information as shi502_xxx in section, and shi501_flags denotes the same information as shi1005_flags in section

 typedef struct _SHARE_INFO_501 {
   [string] wchar_t* shi501_netname;
   DWORD shi501_type;
   [string] wchar_t* shi501_remark;
   DWORD shi501_flags;
 } SHARE_INFO_501,