DDCOLORKEY structure (strmif.h)

Describes a color key as a range of values.

Syntax

typedef struct DDCOLORKEY {
  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. 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

   
Minimum supported client Windows XP or later
Header strmif.h (include Dshow.h)