ICodecAPI::SetAllDefaults method (strmif.h)

The SetAllDefaults method resets all codec properties to their default values.

Syntax

HRESULT SetAllDefaults();

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows XP with SP2 [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 R2 [desktop apps | UWP apps]
Target Platform Windows
Header strmif.h (include Dshow.h)
Library Strmiids.lib

See also

Codec API Reference

Encoder API

ICodecAPI

ICodecAPI::GetValue