Function 4408h (68-8)    IOCTL: Is Device Removable?                ò DOS 3.0
 
    Indicates whether or not a device has removable media.
 
       On entry:      AH         44h
                      AL         08h
                      BL         Drive number (0=default, 1=A, etc.)
 
       Returns:       AX         00h     If device is removable
                                 01h     If device is fixed
                                 0Fh     If invalid drive specified
                                 Error code, if CF set
 
       Error codes:   1          For network devices
 
  --------------------------------------------------------------------------
 
    This subfunction (DOS 3.0 and later only) indicates whether or not a
    device has removable media (such as a floppy disk or a removable
    cartridge hard disk). A value of 00h in AX means the device is
    removable; a value of 01h means it is fixed. AX returns an error code
    of 0Fh if an invalid drive has been specified in BL.

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster