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 0Fh
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   44h     Subfunction:   0Fh
 
  Title:       IOCTL: Set Logical Drive Map [Version 3.2+]
 
  Description:
 
     Sets the next logical drive code that will be used to reference a
     block device. When a physical block device is aliased to more than
     one logical drive code, this function can be used to inform the
     driver which drive code will next be used to access the device.
 
     Input                              Output
 
     AH = 44h                           If function successful
     AL = 0Fh                             Carry flag: clear
     BL = Drive code (0 = default,        AL = Mapping code
          1 = A, 2 = B,...)                  = 00h (if only one logical
                                                    drive code assigned
                                                    to the block device)
                                             = 01h-1Ah (logical drive
                                                        code (1 = A,
                                                        2 = B,...)
                                                        mapped to the
                                                        block device)
 
                                        If function unsuccessful
                                          Carry flag: set
                                          AX = Error code (01h or 05h)
                                          See: Error codes
                                    -♦-