Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / all-mingw32 / devs / filesys / emul_handler / dos_native.h
blob65f182ada9d298be6949c73ff05a17ec80c5b9cd
1 /* This file contains some definitions ripped from dos.library includes. I can't use them *
2 * directly because some defines in dos.h conflict with defines in Windows headers. */
4 /* Structure used in Info(). Must be longword-aligned. */
5 struct InfoData
7 LONG id_NumSoftErrors; /* Number of soft errors on device. */
8 LONG id_UnitNumber; /* Unit number of device. */
9 LONG id_DiskState; /* State the current volume is in (see below). */
10 LONG id_NumBlocks; /* Number of blocks on device. */
11 LONG id_NumBlocksUsed; /* Number of blocks in use. */
12 LONG id_BytesPerBlock; /* Bytes per block. */
13 LONG id_DiskType; /* Type of disk (see below). */
14 void *id_VolumeNode;
15 LONG id_InUse; /* Set, if device is in use. */
18 /* id_DiskState */
19 #define ID_WRITE_PROTECTED 80 /* Volume is write-protected. */
20 #define ID_VALIDATING 81 /* Volume is currently validating. */
21 #define ID_VALIDATED 82 /* Volume is ready to be read and written. */
23 /* Filesystem types as used for id_DiskType. These are multi-character
24 constants of identifier strings. They are self-descriptive. */
25 #define ID_NO_DISK_PRESENT (-1L)
26 #define ID_DOS_DISK 0x444F5300
28 /* Constants, defining of what kind a file is. These constants are used in
29 many structures, including FileInfoBlock (<dos/dos.h>) and ExAllData
30 (<dos/exall.h>). */
31 #define ST_PIPEFILE -5 /* File is a pipe */
32 #define ST_LINKFILE -4 /* Hard link to a file */
33 #define ST_FILE -3 /* Plain file */
34 #define ST_ROOT 1 /* Root directory of filesystem */
35 #define ST_USERDIR 2 /* Normal directory */
36 #define ST_SOFTLINK 3 /* Soft link (may be a file or directory) */
37 #define ST_LINKDIR 4 /* Hard link to a directory */