Partager via


IOCTL_CONSOLE_FLUSHINPUT (Windows Embedded CE 6.0)

1/6/2010

This I/O control code (IOCTL) discards all unread events in the input buffer of a console application. The DeviceIoControl function calls this IOCTL.

Parameters

  • hDevice
    [in] Set to the handle of the device.
  • dwIoControlCode
    [in] Set to IOCTL_CONSOLE_FLUSHINPUT.
  • lpInBuf
    [in] Set to NULL.
  • nInBufSize
    [in] Set to zero.

Return Values

A non–zero return value indicates success.

Requirements

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

See Also

Other Resources

Console IOCTLs
OAL IOCTLs