Edit

Share via


IWICBitmapFrameChainReader::GetChainedFrameCount method (wincodec.h)

Retrieves the count of frames for a chain of a given type.

Syntax

HRESULT GetChainedFrameCount(
  WICBitmapChainType chainType,
  UINT               *pCount
);

Parameters

chainType

Type: WICBitmapChainType

The chain type to query about.

pCount

Type: UINT*

Receives the count of frames for chains of type chainType.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Header wincodec.h