The SHARE_INFO_1 structure contains information about the shared resource, including name of the resource, type and permissions, and the number of connections.
typedef struct _SHARE_INFO_1 {
LPWSTR shi1_netname;
DWORD shi1_type;
LPWSTR 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) |
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in lmshare.h.
Networking (Net) Overview, Net Structures, NetShareEnum, NetShareGetInfo, NetShareSetInfo