Device Request 0fH: Removable Media

Blk► Chr► OCR► 
 This asks the driver whether the device contains removable media.

DevReq0fRec
  Offset Size Contents
  ▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
   +0      1  bLen         0dH (length of this request packet)
   +1      1  bUnitNo      (not used)
   +2      1  bCmd         0fH (command code)
   +3      2  rStatus      OUTPUT: Device Status Word must fill before exit
   +5H     8  res          (reserved)
          13               size of this record

     rStatus  On exit, the driver must place a DevStatusWord here.  Always
              set the Done bit (bit 8).

              If the disk in the drive is removable, clear the busy bit
              (bit 9).  If the disk is non-removable, set bit 9.

   Notes: ■ Only drivers capable of device Open/Close-processing need
            support this request (see Device Attribute bit 11).

          ■ This is the driver "catch point" for DOS fn 4408H (IOCTL does
            drive use removable media?).

See Also: Device Requests
          DevRequestHdrRec
          Installable Device Drivers
                                    -♦-