IOCTL_CONSOLE_GETMODE (Windows Embedded CE 6.0)
1/6/2010
This I/O control code (IOCTL) returns the modes associated with the console. The DeviceIoControl function calls this IOCTL.
Parameters
- hDevice
[in] Set to the handle of the device.
- dwIoControlCode
[in] Set to IOCTL_CONSOLE_GETMODE.
- lpInBuf
[in] Set to NULL.
- nInBufSize
[in] Set to zero.
Return Values
This function copies the mode values of the console to the PBYTE pBufOut. This value can be compared with CECONSOLE_MODE_ECHO_INPUT, CECONSOLE_MODE_LINE_INPUT or CECONSOLE_MODE_PROCESSED_OUTPUT to determine whether those values are set for the console. See Console Flags for more information.
TRUE indicates success. FALSE indicates failure.
Requirements
Header | console.h |
Windows Embedded CE | Windows CE 3.0 and later |