共用方式為


ICodecAPI::GetAllSettings

 
Microsoft DirectShow 9.0

ICodecAPI::GetAllSettings

The GetAllSettings method saves the current encoder settings to a stream.

Syntax

  HRESULT GetAllSettings(
    IStream *pStream
);

Parameters

pStream

[in]  Pointer to the IStream interface of the stream.

Return Values

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

Requirements

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

Library: Use Strmiids.lib.

See Also