Function 440Dh /60h     Get Device Parameters                        DOS 3.2+

Returns the device parameters for the specified block device.

Entry AX = 440Dh
BX = Drive number (0 = default, 1 = A, etc.)
CH = 08h (device category, must be 8)
CL = 60h
DS:DX = Pointer to a DeviceParams structure

Return DeviceParams filled
or
AX = Error code, if CF is set
| 01h Invalid function
| 02h File not found
| 05h Access denied

──────────────────────────────────────────────────────────────────

The dpSpecFunc field in the DeviceParams structure determines
whether the function retrieves current or default information. If
this field is set to 1, the function retrieves information about
the current medium in the drive; if the field is set to 0, the
function retrieves information about the default medium for the
drive.

This function returns an error value of 2 (file not found) if the
specified drive number is invalid.