IWICBitmapFrameChainReader::GetChainedFrameCount 方法 (wincodec.h)

检索给定类型的链的帧计数。

Syntax

HRESULT GetChainedFrameCount(
  WICBitmapChainType chainType,
  UINT               *pCount
);

Parameters

chainType

Type: WICBitmapChainType

要查询的链类型。

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 HRESULTerror code.

Requirements

Requirement Value
Header wincodec.h