The SHARE_INFO_501 structure contains information about the shared resource, including name of the resource, type and permissions, and the number of connections.
typedef struct _SHARE_INFO_501 {
LPWSTR shi501_netname;
DWORD shi501_type;
LPWSTR shi501_remark;
DWORD shi501_flag;
} SHARE_INFO_501, *PSHARE_INFO_501, *LPSHARE_INFO_501;
Value | Meaning |
---|---|
STYPE_DISKTREE | Disk drive |
STYPE_PRINTQ | Print queue |
STYPE_DEVICE | Communication device |
STYPE_IPC | Interprocess Communication (IPC) |
Value | Meaning |
---|---|
CSC_CACHEABLE | This flag is an advisory to clients stating that, if they wish and are able, they can legitimately and automatically cache files on this share for access when the client is disconnected from the network. |
Networking (Net) Overview, Net Structures