共用方式為


IWICBitmapFrameChainReader::GetChainedFrame 方法 (wincodec.h)

擷取指定型別鏈結的框架。

Syntax

HRESULT GetChainedFrame(
  WICBitmapChainType    chainType,
  UINT                  index,
  IWICBitmapFrameDecode **ppIBitmapFrame
);

Parameters

chainType

Type: WICBitmapChainType

要擷取框架的鏈結類型。

index

Type: UINT

要擷取之框架的索引。

ppIBitmapFrame

Type: IWICBitmapFrameDecode**

Receives the frame at index 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