ICodecAPI::SetAllDefaults method (icodecapi.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

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header icodecapi.h

See also

Codec API Reference

Encoder API

ICodecAPI

ICodecAPI::GetValue