IWICComponentFactory::CreateEncoderPropertyBag メソッド (wincodecsdk.h)

エンコーダー プロパティ バッグを作成します。

構文

HRESULT CreateEncoderPropertyBag(
  [in]  PROPBAG2      *ppropOptions,
  [in]  UINT          cCount,
  [out] IPropertyBag2 **ppIPropertyBag
);

パラメーター

[in] ppropOptions

種類: PROPBAG2*

エンコーダー プロパティ バッグの作成 に使用PROPBAG2 オプションの配列へのポインター。

[in] cCount

型: UINT

ppropOptions 配列内のPROPBAG2構造体の数。

[out] ppIPropertyBag

種類: IPropertyBag2**

エンコーダー IPropertyBag2 へのポインターを受け取るポインター。

戻り値

種類: HRESULT

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

要件

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