| 
 |  | 
                   DOS INTERNAL SERVICES - IOCTL Interface                    
  
    | 
       Input  | 
    DOS1 | 
    N | 
    DOS3 | 
    N | 
    
       DOS4  | 
    Y | 
    DOS5 | 
    Y | 
    
       Output  | 
   
  
    | 
       AX  | 
    12h | 
    2Bh | 
     Bytes
      / Status / Value / Error | 
    AX | 
   
  
    | 
       BX  | 
     File
      Handle / Drive Code | 
      | 
      | 
    BX | 
   
  
    | 
       CX  | 
     Number
      of Bytes to Read/Write | 
      | 
      | 
    CX | 
   
  
    | 
       DX  | 
     Device
      Information (01h) | 
    Device
      Information (00h) | 
    DX | 
   
  
    | 
       BP  | 
     IOCTL
      Code (as per call 44h) | 
    Set
      if Error | 
    CF | 
   
  
    | DS:DX | 
    Buffer
      Area (02h-05h) | 
      | 
      | 
   
   |