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 0Eh
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   44h     Subfunction:   0Eh
 
  Title:       IOCTL: Get Logical Drive Map [Version 3.2+]
 
  Description:
 
     Returns the logical drive code that was most recently used to
     access the specified block device. If a drive has not been
     assigned a logical mapping with Function 44h Subfunction OFh,
     the logical and physical drive codes are the same.
 
     Input                   Output
 
     AH = 44h                If function successful
     AL = 0Eh                  Carry flag: clear
     BL = Drive code           AL = Mapping code
          (0 = default,           = 00h (if only one logical drive code
           1 = A, 2 = B,                 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
                                    -♦-