IWICBitmapDecoder::GetFrame メソッド (wincodec.h)

イメージの指定したフレームを取得します。

構文

HRESULT GetFrame(
  [in]  UINT                  index,
  [out] IWICBitmapFrameDecode **ppIBitmapFrame
);

パラメーター

[in] index

型: UINT

取得する特定のフレーム。

[out] ppIBitmapFrame

種類: IWICBitmapFrameDecode**

IWICBitmapFrameDecode へのポインターを受け取るポインター。

戻り値

種類: HRESULT

このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。

要件

要件
サポートされている最小のクライアント WINDOWS XP と SP2、Windows Vista [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー Windows Server 2008 [デスクトップ アプリ | UWP アプリ]
対象プラットフォーム Windows
ヘッダー wincodec.h
Library Windowscodecs.lib
[DLL] Windowscodecs.dll