QBasic 1.1: IOCTL Statement
Explanation
IOCTL Statement, IOCTL$ Function
IOCTL transmits a control string to a device driver.
IOCTL$ returns current status information from a device driver.
Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Syntax
IOCTL [#]filenumber%, string$ |
IOCTL$([#]filenumber%) |
Description / Parameter(s)
filenumber% |
The number of an open device. |
string$ |
The control string sent to the device. |
IOCTL control strings and the information returned by IOCTL$ depend on the device driver. See your device-driver documentation for information about IOCTL control strings and what is returned by IOCTL$. |