DOS Fn 440dH CL=60H: IOCTL Query Device Parameters
Compatibility: 3.2+
Expects: AX 440dH
BX drive (0=default, 1=A, 2=B, etc.)
CL 60H
CH 08H (device category: block device)
DS:DX addr of a buffer to hold an IoctlDeviceParmsRec
The rSpclFns field specifies to get info for the current or
the default medium (i.e., for removable media devices)
──────────────────────────────────────────────────────────────────
Returns: AX error code if CF is set to CY
DS:DX buffer is filled with current settings
──────────────────────────────────────────────────────────────────
Info: Obtains the block device parameters (such as number of cylinders,
bytes-per-track, etc.) for the specified block device. It can
obtain info for the default media or the current active media.
To get info for the current media:
Put 01H in the rSpclFns field (at offset 0) before calling
To get info for the default media:
Put 02H in the rSpclFns field before calling
See Also: Fn 44H (IOCTL)
Fn 440dH (generic IOCTL for block devices)
Fn 440dH 40H (set device parameters)
Generic IOCTL Data Packets
Device Requests
DOS Functions
-♦-