IWICProgressiveLevelControl::GetCurrentLevel method (wincodec.h)

Gets the decoder's current progressive level.

Syntax

HRESULT GetCurrentLevel(
  [out, retval] UINT *pnLevel
);

Parameters

[out, retval] pnLevel

Type: UINT*

Indicates the current level specified.

Return value

Type: HRESULT

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

Remarks

The level always defaults to the highest progressive level. In order to decode a lower progressive level, SetCurrentLevel must first be called.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header wincodec.h
DLL Windowscodecs.dll

See also

IWICProgressiveLevelControl

Progressive Decoding Overview