Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>function 440eh (68-14) ioctl: get logical drive . dos 3.2</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 440Eh (68-14)   IOCTL: Get Logical Drive                   . DOS 3.2

    Returns the drive letter used most recently for block devices that
    have more than one logical drive letter.

       On entry:      AH         44h
                      AL         0Eh
                      BL         Drive number (0=default, 1=A, etc.)

       Returns:       AL         00h if only one letter is assigned to the
                                          block device
                                 Drive letter used most recently (1 = A,
                                          2 = B, etc.)
                      AX         Error code, if CF is set

  --------------------------------------------------------------------------

    Some block devices use more than one drive letter to refer to the same
    device.  For example, the floppy disk drive on a system with only one
    floppy disk drive can be referred to as either A: or B:.  This
    function tells both if more than one drive letter refers to a device
    and, if so, which drive letter was used most recently.

       Notes:         Function 440Fh can be used to set the most-recent
                      drive letter used for a device.

See Also: 44h 440Fh

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson