EXTHEADER STRUC
ehSignature db 0ffh ;extended signature
ehReserved db 5 dup(0) ;reserved
ehSearchAttrs db ? ;attribute byte
EXTHEADER ENDS
The EXTHEADER structure contains attributes for file and directory searches.
ehSignature
Specifies the extended search-header signature. This value must be 0FFh.
ehReserved
Reserved; must be zero.
ehSearchAttrs
Specifies the attributes used in the search for files and directories. This field can contain some combination of the following values:
Value | Meaning |
ATTR_READONLY (01h) | Specifies a read-only file. |
ATTR_HIDDEN (02h) | Specifies a hidden file or directory. |
ATTR_SYSTEM (04h) | Specifies a system file or directory. |
ATTR_VOLUME (08h) | Specifies a volume label. The entry contains no other usable information (except for date and time of creation) and can occur only in the root directory. |
ATTR_DIRECTORY (10h) | Specifies a directory. |
ATTR_ARCHIVE (20h) | Specifies a file that is new or has been modified. |
All other values are reserved. (The two high-order bits are set to zero.)
If no attributes are set, the file is a normal file (ATTR_NORMAL).
Interrupt 21h Function 11h Find First File with FCB
Interrupt 21h Function 12h Find Next File with FCB