Share via


IMSVidGenericSink::SetSinkFilter Method

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(
  [in]  BSTR bstrCLSID
);

Parameters

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

Return Value

Returns an HRESULT value. Possible values include the following.

Return code Description

S_OK

Success.

Requirements

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

See Also

IMSVidGenericSink Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008