Alias Level 1
struct alias_info_1 {
unsigned char ai1_alias[ALIAS_LEN + 1];
unsigned char ai1_pad;
unsigned char LSFAR * LSPTR ai1_remark;
unsigned short ai1_type;
};
where:
- The first field in this data structure is identical
to that in the previous level.
- ai1_pad word-aligns the data structure component.
- ai1_remark points to an ASCIIZ string containing
an optional comment about the alias. The string must be no longer than
40 bytes. A null string indicates no remark.
- ai1_type is one of three values indicating
the alias type. The following values are defined in the DCDB.H header file:
┌──────────────────────┬─────────┬─────────────────────────────────────────────┐│SYMBOLICCONSTANT
│VALUE │MEANING │
├──────────────────────┼─────────┼─────────────────────────────────────────────┤
│ ALIAS_TYPE_FILE │ 0x0001 │ File alias │
├──────────────────────┼─────────┼─────────────────────────────────────────────┤
│ ALIAS_TYPE_PRINTER │ 0x0002 │ Printer alias │
├──────────────────────┼─────────┼─────────────────────────────────────────────┤
│ ALIAS_TYPE_SERIAL │ 0x0004 │ Serial device alias │
└──────────────────────┴─────────┴─────────────────────────────────────────────┘
[Back: Alias Level 0]
[Next: Alias Level 2]