Microsoft DirectX 9.0

CImageDisplay::GetColourMask

The GetColourMask method retrieves the color masks for the current display format.

Syntax

BOOL GetColourMask(
    DWORD *pMaskRed,
    DWORD *pMaskGreen,
    DWORD *pMaskBlue
);

Parameters

pMaskRed

Pointer to a variable that receives the red-component mask.

pMaskGreen

Pointer to a variable that receives the green-component mask.

pMaskBlue

Pointer to a variable that receives the blue-component mask.

Return Value

Returns TRUE if successful, or FALSE otherwise.

See Also