Share via


IOCTL_CONSOLE_GETSCREENCOLS (Windows Embedded CE 6.0)

1/6/2010

This I/O control code (IOCTL) returns the number of columns visible for a console application. This value does not reflect the number of columns available in the console's buffer. The DeviceIoControl function calls this IOCTL.

Parameters

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

Return Values

This function copies the number of columns visible in the console to the PBYTE pBufOut.

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