共用方式為


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