IOCTL transmits a control string to a device driver. IOCTL$ returns current status information from a device driver. IOCTL [#]filenumber%, string$ IOCTL$([#]filenumber%) - 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$.