Share via


IOCTL_CONSOLE_SETMODE (Windows Embedded CE 6.0)

1/6/2010

This I/O control code (IOCTL) sets the mode flags 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 CECONSOLE_MODE_ECHO_INPUT, CECONSOLE_MODE_LINE_INPUT, CECONSOLE_MODE_PROCESSED_OUTPUT or a combination of the three. See Console Flags for more information.
  • nInBufSize
    [in] Set to sizeof(DWORD).

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

Header console.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Other Resources

Console IOCTLs
OAL IOCTLs