IWICMetadataReaderInfo::GetPatterns メソッド (wincodecsdk.h)

メタデータ リーダーに関連付けられているメタデータ パターンを取得します。

構文

HRESULT GetPatterns(
  [in]      REFGUID            guidContainerFormat,
  [in]      UINT               cbSize,
  [in, out] WICMetadataPattern *pPattern,
  [in, out] UINT               *pcCount,
  [in, out] UINT               *pcbActual
);

パラメーター

[in] guidContainerFormat

種類: REFGUID

cointainer 形式の GUID。

[in] cbSize

型: UINT

pPattern バッファーのサイズ (バイト単位)。

[in, out] pPattern

種類: WICMetadataPattern*

メタデータ パターンを受け取るポインター。

[in, out] pcCount

種類: UINT*

メタデータ パターンの数を受け取るポインター。

[in, out] pcbActual

種類: UINT*

メタデータ パターンを取得するために必要なサイズをバイト単位で受け取るポインター。

戻り値

種類: HRESULT

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

要件

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