Device Request 0eH: Device Close

Blk► Chr► OCR► 
 This tells the driver that a block-device file or character device is
 being closed.

  Offset Size Contents
  ▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
   +0      1  bLen         0dH (length of this request packet)
   +1      1  bUnitNo      (not used)
   +2      1  bCmd         0eH (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).  On an error, set the Done bit and
              the Error bit (bit 15) and put a Device Error Code in the low

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

          ■ DOS uses this request whenever an application closes a file or
            device (fn 3eH).  Drivers can use this in conjunction with
            DvRq 0dH (Device Open) to help manage internal buffers.

See Also: Device Requests
          Installable Device Drivers