IWICJpegFrameDecode::GetScanHeader method (wincodec.h)

Retrieves parameters from the Start Of Scan (SOS) marker for the scan with the specified index.

Syntax

HRESULT GetScanHeader(
        UINT              scanIndex,
  [out] WICJpegScanHeader *pScanHeader
);

Parameters

scanIndex

Type: UINT

The index of the scan for which header data is retrieved.

[out] pScanHeader

Type: WICJpegScanHeader*

A pointer that receives the frame header data.

Return value

Type: HRESULT

Returns S_OK on successful completion.

Requirements

   
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header wincodec.h
Library Windowscodecs.lib
DLL Windowscodecs.dll

See also

IWICJpegFrameDecode