2.2.2.4 Share Types
The following values are used to specify the type of a shared resource.
Constant/value |
Description |
---|---|
STYPE_DISKTREE 0x00000000 |
Disk drive |
STYPE_PRINTQ 0x00000001 |
Print queue |
STYPE_DEVICE 0x00000002 |
Communication device |
STYPE_IPC 0x00000003 |
Interprocess communication (IPC) |
STYPE_CLUSTER_FS 0x02000000 |
A cluster share |
STYPE_CLUSTER_SOFS 0x04000000 |
A Scale-Out cluster share |
STYPE_CLUSTER_DFS 0x08000000 |
A DFS share in a cluster |
The following table of values can be OR'd with the values in the preceding table to further specify the characteristics of a shared resource. It is possible to use both values in this OR operation.
Constant/value |
Description |
---|---|
STYPE_SPECIAL 0x80000000 |
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. |
STYPE_TEMPORARY 0x40000000 |
A temporary share that is not persisted for creation each time the file server initializes. |