qa.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 08H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  IOCTL: Check If Block Device          DOS 3 Only
                Is Removable
 
  Checks whether the specified block device contains a removable storage
  medium, such as a floppy disk.
 
  Input                                  Output
  ═══════════════════════════            ═════════════════════════════════
  AH=44H                                 If function successful
  AL=08H                                 Carry flag=clear
  BL=drive number (0=default,            AL=00H if medium is removable
      1=A, 2=B, etc.)                       01H if medium is not removable
                                         If function unsuccessful
                                         Carry flag= set
                                         AX=error code
                                    -♦-