Partager via


IWICBitmapFrameChainReader ::GetChainedFrameCount, méthode (wincodec.h)

Récupère le nombre d’images pour une chaîne d’un type donné.

Syntax

HRESULT GetChainedFrameCount(
  WICBitmapChainType chainType,
  UINT               *pCount
);

Parameters

chainType

Type: WICBitmapChainType

Type de chaîne à interroger.

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