Share via


ICodecAPI::SetAllSettingsWithNotify

 
Microsoft DirectShow 9.0

ICodecAPI::SetAllSettingsWithNotify

The SetAllSettingsWithNotify method loads encoder settings from a stream, sets them on the encoder, and returns a list of the settings that have changed.

Syntax

  HRESULT SetAllSettingsWithNotify(
    IStream *pStream,
    GUID **ChangedParam,
    ULONG *ChangedParamCount
);

Parameters

pStream

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

ChangedParam

[out]  Address of a variable that receives a pointer to an array of GUIDs, of size ChangedParamCount. The array contains the GUIDs of the parameters that have changed in the encoder as a result of this method call. The caller must free the array by calling the CoTaskMemFree function.

ChangedParamCount

[in]  Pointer to a variable that receives the number of elements in the array.

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