Partager via


IMSVidCtl::get_ColorKey

 
Microsoft DirectShow 9.0

IMSVidCtl::get_ColorKey

This topic applies to Windows XP or later.

The get_ColorKey method retrieves the color key that the video renderer is using.

Syntax

  HRESULT get_ColorKey(
  
  OLE_COLOR*
  
  CurrentValue
  
  );

Parameters

  pCurrentValue

[out]  Pointer to a variable that receives an OLE_COLOR value.

Return Values

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.

Example Code

  

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also