Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains information about the shared resource including the name and type of the resource, and a comment associated with the resource.
Syntax
typedef struct _SHARE_INFO_501 {
LMSTR shi501_netname;
DWORD shi501_type;
LMSTR shi501_remark;
DWORD shi501_flags;
} SHARE_INFO_501, *PSHARE_INFO_501, *LPSHARE_INFO_501;
Members
shi501_netname
Pointer to a Unicode string specifying the name of a shared resource.
shi501_type
A combination of values that specify the type of share.
One of the following values may be specified. You can isolate these values by using the STYPE_MASK value.
Value | Meaning |
---|---|
|
Disk drive. |
|
Print queue. |
|
Communication device. |
|
Interprocess communication (IPC). |
In addition, one or both of the following values may be specified.
Value | Meaning |
---|---|
|
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 Network Share Functions. |
|
A temporary share. |
shi501_remark
Pointer to a Unicode string specifying an optional comment about the shared resource.
shi501_flags
Reserved; must be zero.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | lmshare.h (include Lm.h) |