Share via


IMSVidCtl::put_ColorKey Method

This topic applies to Windows XP or later.
The put_ColorKey method specifies the color key.

Syntax

HRESULT put_ColorKey(
  [in]  OLE_COLOR NewValue
);

Parameters

  • NewValue [in]
    Specifies the color key as an OLE_COLOR value.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The color key is used when the video renderer draws to an overlay surface.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidCtl Interface
IMSVidCtl::get_ColorKey

Send comments about this topic to Microsoft

Build date: 12/4/2008