#include <irs.h> typedef struct IRS_drv_get { UCHAR IRS_filler_5; // must be IRS_GET_DRVINFO UCHAR IRS_filler_6; // zero if successful UCHAR IRS_DrvLetter; // drive letter ULONG IRS_DrvFlags; // flags; see below } IRS_drv, *PIRS_drv;
Contains information for a IRS_GET_DRVINFO function.
IRS_DrvLetter
Indicates the drive. Can be a hexadecimal number in the range 80h to 8fh for INT 13h devices or an upper or lowercase letter in the range of A to Z. If the drive letter requested is not a valid IOS device, then the call returns with a status of 1.
IRS_DrvFlags
Flags. Can be any combination of these values:
IRS_DRV_SINGLE_FLOPPY | Indicates a floppy device that performs drive letter toggling. The same physical device responds to both drive letters A and B. |
IRS_DRV_RMM | Indicates that the requested drive uses the real mode mapper for logical disk access. |
IRS_DRV_REMOTE | Indicates a remote (non local) drive. |
IRS_DRV_REMOVABLE | Indicates a device that uses removable media. |
IRS_DRV_INT13_DRIVE | Indicates a device that can be accessed using the INT 13h interface specification. |
IRS_DRV_PAGEABLE | Indicates that the device drivers controlling this drive have pageable code in them. |
Except for IRS_DRV_ON_INT13_DRIVE, these are numerically equivalent to their DCB counterparts.
See also IRS