Compartir a través de


IOCTL_HAL_QUERY_DISPLAYSETTINGS (Windows CE 5.0)

Send Feedback

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

OS Versions: Windows CE .NET 4.2 and later.
Header: Pkfuncs.h.

See Also

OEMIoControl

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.