From QB64 Wiki
The IOCTL$ function receives messages from an open device, format of the messages received is device dependent (see manual of the device to see if it is IOCTL compatible). Most devices are NOT IOCTL compatible.
- result$ = IOCTL$([#]fileNumber%)
- Currently NOT supported in QB64!
- fileNumber% is the file number for the OPENed device and result$ is the message received from the device.
- Note: The device must first be opened with the OPEN statement.