The SHARE_INFO_1 structure contains information about the shared resource, including name of the resource, type and permissions, and number of connections.
typedef struct _SHARE_INFO_1 {
LPTSTR shi1_netname;
DWORD shi1_type;
LPTSTR shi1_remark;
} SHARE_INFO_1, *PSHARE_INFO_1, *LPSHARE_INFO_1;
Value |
Meaning |
STYPE_DISKTREE |
Disk drive |
STYPE_PRINTQ |
Print queue |
STYPE_DEVICE |
Communication device |
STYPE_IPC |
Interprocess Communication (IPC) |