次の方法で共有


IMSVidGenericSink::SetSinkFilter method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

The SetSinkFilter method sets the filter for the sink.

Syntax

HRESULT SetSinkFilter(
  [in] BSTR bstrName
);

Parameters

[in] bstrName

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

Requirement Value
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidGenericSink Interface