共用方式為


IVMRVideoStreamControl::GetColorKey

 
Microsoft DirectShow 9.0

IVMRVideoStreamControl::GetColorKey

The GetColorKey method retrieves the source color key currently set for this stream.

Syntax

  HRESULT GetColorKey(
  DDCOLORKEY*  pclr
);

Parameters

pclr

[out]  Address of a DDCOLORKEY structure that receives the source color key.

Return Values

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

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also