DrvGetMasks (Compact 2013)
3/26/2014
This function retrieves the color masks for the display device's current mode. The ClearType and anti-aliased font libraries use this function.
Syntax
ULONG * DrvGetMasks (
DHPDEV dhpdev
);
Parameters
- dhpdev
[in] Handle to the display device for which to retrieve color mask information.
Return Value
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
Header |
winddi.h |
Library |
Ddi_ati_lib.lib, |