| Platform SDK: Network Management |
The SHARE_INFO_501 structure contains information about the shared resource including the name and type of the resource, and a comment associated with the resource.
typedef struct _SHARE_INFO_501 {
LPWSTR shi501_netname;
DWORD shi501_type;
LPWSTR shi501_remark;
DWORD shi501_flags;
} 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) |
| STYPE_SPECIAL | Special share reserved for interprocess communication (IPC$) or remote administration of the server (ADMIN$). Can also refer to administrative shares such as C$, D$, E$, and so forth. For more information, see the network management share functions. |
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmshare.h.
Network Management Overview, Network Management Structures, Share Functions, NetShareGetInfo