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 09h
                                             ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   44h    Subfunction:   09h
 
  Title:       IOCTL: Check if Block Device is Remote [Version 3.1+]
 
  Description:
 
     Checks whether the specified block device is local (attached to
     the computer running the program) or remote (redirected to a
     network server). Use of this subfunction should be avoided.
     Application programs should not distinguish between files on
     local and remote devices.
 
     Input                               Output
 
     AH = 44h                            If function successful
     AL = 09h                              Carry flag: clear
     BL = Drive number (0 = default,       DX = Device attribute word
          1 = A, 2 = B,...)                     Bit 12 = 0 (if drive is
                                                         local)
                                                       = 1 (if drive is
                                                         remote)
 
                                         If function unsuccessful
                                           Carry flag: set
                                           AX = Error code (01h or 0Fh)
                                           See: ◄Error codes►
                                    -♦-