IWICPixelFormatInfo2::GetNumericRepresentation メソッド (wincodec.h)

ピクセル形式の WICPixelFormatNumericRepresentation を取得します。

構文

HRESULT GetNumericRepresentation(
  [out] WICPixelFormatNumericRepresentation *pNumericRepresentation
);

パラメーター

[out] pNumericRepresentation

種類: WICPixelFormatNumericRepresentation*

定義した WICPixelFormatNumericRepresentation 変数のアドレス。 正常に完了すると、関数は変数をピクセル形式の WICPixelFormatNumericRepresentation に設定します。

戻り値

種類: HRESULT

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

要件

   
サポートされている最小のクライアント Windows 7、Windows Vista SP2 および Windows Vista 用プラットフォーム更新プログラム [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー Windows Server 2008 R2、Windows Server 2008 SP2 および Windows Server 2008 用プラットフォーム更新プログラム [デスクトップ アプリ |UWP アプリ]
対象プラットフォーム Windows
ヘッダー wincodec.h
[DLL] Windowscodecs.dll

関連項目

IWICPixelFormatInfo2