IMSVidGenericSink::SetSinkFilter

 
Microsoft DirectShow 9.0

IMSVidGenericSink::SetSinkFilter

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.

The SetSinkFilter method sets the filter for the sink.

Syntax

  HRESULT SetSinkFilter(
  
  BSTR bstrCLSID);

Parameters

bstrName

[in]  BSTR that contains the CLSID of the sink filter. The BSTR must use the following format: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also