Share Level 1
struct share_info_1 {
unsigned char shi1_netname[NNLEN+1];
unsigned char shi1_pad1;
unsigned short shi1_type;
unsigned char LSFAR * LSPTR shi1_remark;
};
where:
- The first field in this data structure is identical
to that in the previous level.
- shi1_pad1 word-aligns the data structure components.
- shi1_type is one of the following four values,
defined in the DCDB.H header file: ┌────────────────────┬───────┬─────────────────────────────────────────────────┐
│ SYMBOLIC CONSTANT │ VALUE │ SHARE TYPE │
├────────────────────┼───────┼─────────────────────────────────────────────────┤
│ STYPE_DISKTREE │ 0 │ Disk drive │
├────────────────────┼───────┼─────────────────────────────────────────────────┤
│ STYPE_PRINTQ │ 1 │ Spooler queue │
├────────────────────┼───────┼─────────────────────────────────────────────────┤
│ STYPE_DEVICE │ 2 │ Serial device │
├────────────────────┼───────┼─────────────────────────────────────────────────┤
│ STYPE_IPC │ 3 │ Interprocess communication (IPC) │
└────────────────────┴───────┴─────────────────────────────────────────────────┘
- shi1_remark points to an ASCIIZ string containing
an optional comment about the shared resource.
[Back: Share Level 0]
[Next: Share Level 2]