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 08h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   44h     Subfunction:   08h
 
  Title:       IOCTL: Check if Block Device is Removable [Version 3.0+]
 
  Description:
 
     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
          1 = A, 2 = B,...)                        removable)
                                            = 01h (if medium is not
                                                   removable)
 
                                       If function unsuccessful
                                         Carry flag: set
                                         AX = Error code (01h or 0Fh)
                                         See: Error codes
                                    -♦-