共用方式為


IMSVidStreamBufferSink::put_SinkName

 
Microsoft DirectShow 9.0

IMSVidStreamBufferSink::put_SinkName

This topic applies to Windows XP Service Pack 1 or later.

The put_SinkName method sets the name of the stub file that points to the backing files.

Syntax

  HRESULT put_SinkName(
  BSTR  Name
);

Parameters

Name

[in]  Specifies the file name.

Return Values

The method returns an HRESULT. Possible values include the following.

Value Description
E_FAIL Failure.
E_INVALIDARG Invalid argument.
S_OK The method succeeded.

Remarks

Call this method before calling NameSetLock, while the graph is stopped. Otherwise, the method fails and returns E_FAIL.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also