Compartir a través de


CImageDisplay::GetColourMask

 
Microsoft DirectShow 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.

Requirements

**  Header:** Declared in Winutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also