DDCOLORKEY Structure

 
Microsoft DirectShow 9.0

DDCOLORKEY Structure

Describes a color key as a range of values.

Requirements

Requires Microsoft® Windows® XP.

Syntax

typedef struct {
  DWORD dw1;
  DWORD dw2;
} DDCOLORKEY;

Members

dw1

Specifies the lower bound of the color key range.

dw2

Specifies the upper bound of the color key range.

Remarks

This structure is used by the Video Mixing Renderer (VMR) filter, which is available only on Windows XP. The VMR uses this structure to support the DirectDraw capability of specifying a range of values for a color key by using two DWORDs. The VMR and the graphics card automatically determine whether the two DWORDs are interpreted as RGB or YUV color space values. Not all hardware may support this capability. To ensure compatibility with all hardware, set dw1 and dw2 to the same value.

Requirements

Header: Dshow.h.