Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>function 4408h (68-8) ioctl: is device removable? . dos 3.0</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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.

See Also: 44h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson