Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21h Function 44h Subfunction 05h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   44h     Subfunction:   05h
 
  Title:       IOCTL: Write Control Data to Block Device Driver
 
  Description:
 
     Transfers control data from an application program directly to a
     block device driver. The length and contents of the control data
     are specific to each device driver and do not follow any standard
     format. This function does not necessarily result in any output to
     the physical device.
 
     Input                              Output
 
     AH = 44h                           If function successful
     AL = 05h                             Carry flag: clear
     BL = Drive code (0 = default,        AX = Bytes transferred
          1 = A, 2 = B,...)
     CX = Number of bytes to write      If function unsuccessful
     DS:DX = segment:offset of data       Carry flag: set
                                          AX = Error code (01h, 05h,
                                               06h,or 0Dh)
                                          See: Error codes
                                    -♦-