DrvGetMasks (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This function retrieves the color masks for the display device's current mode. The ClearType and anti-aliased font libraries use this function.

ULONG * DrvGetMasks (
  DHPDEV dhpdev
);

Parameters

dhpdev
[in] Handle to the display device for which to retrieve color mask information.

Return Values

A pointer to three consecutive ULONG values. Each ULONG represents the mask for a particular color component, red, green, or blue. For example, a RGB565 based display returns (0xf800, 0x07e0, 0x001f).

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winddi.h.
Link Library: Ddi_ati_lib.lib, Ddi_flat_lib.lib, Ddi_gx_lib.lib, Ddi_mq200_lib.lib, Ddi_nop_lib.lib, Ddi_rflat_lib.lib, Ddi_rgx_lib.lib, or Ddi_tvia5_lib.lib.

See Also

Display Drivers


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: