Platform SDK: Network Management |
Windows 95/98: The share_info_1 structure contains information about the shared resource, including the name and type of the resource, and a comment associated with the resource.
Windows NT/2000: This structure is not supported on Windows NT/Windows 2000. You can use the SHARE_INFO_1 structure instead.
struct _share_info_1 { char shi1_netname[LM20_NNLEN+1]; char shi1_pad1; unsigned short shi1_type; char FAR * shi1_remark; };
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: Unsupported.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Svrapi.h.
Network Management Overview, Network Management Structures, Share Functions, NetShareEnum, NetShareGetInfo, share_info_0, share_info_2, share_info_50