共用方式為


ICodecAPI::SetAllSettings

 
Microsoft DirectShow 9.0

ICodecAPI::SetAllSettings

The SetAllSettings method loads encoder settings from a stream and sets them on the encoder.

Syntax

  HRESULT SetAllSettings(
    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