Partager via


IOCTL_HAL_QUERY_DISPLAYSETTINGS (Windows Embedded CE 6.0)

1/5/2010

This IOCTL is used by graphics device interface (GDI) to query the kernel for information about a preferred resolution for the system to use.

The OEMIoControl function calls this IOCTL.

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_HAL_QUERY_DISPLAYSETTINGS.
  • lpInBuf
    Not used.
  • nInBufsize
    Not used.
  • lpOutBuf
    [out] Array of three DWORDs.

    If the call succeeds, the first DWORD contains the preferred width, the second contains the preferred height, and the third contains the color depth in bits per pixel.

  • nOutBufSize
    [in] Size of the three DWORDs.
  • lpBytesReturned
    [in] Actual number of bytes returned by lpOutBuf.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

Header pkfuncs.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Device Information IOCTLs
OEMIoControl