Freigeben über


ICodecAPI::SetAllDefaultsWithNotify

 
Microsoft DirectShow 9.0

ICodecAPI::SetAllDefaultsWithNotify

The SetAllDefaultsWithNotify method returns all parameters to their default values, and returns a list of the settings that have changed.

Syntax

  HRESULT SetAllDefaultsWithNotify(
  GUID** ChangedParam,
  ULONG* ChangedParamCount
);

Parameters

[out] ChangedParam

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.

[out] ChangedParamCount

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