PackSize 関数 (mfapi.h)

UINT32 幅の値と UINT32 の高さの値を、サイズを表す UINT64 値にパックします。

構文

UINT64 PackSize(
  [in] UINT32 unWidth,
  [in] UINT32 unHeight
);

パラメーター

[in] unWidth

UINT32 幅の値を格納する値。

[in] unHeight

UINT32 の高さの値を格納する値。

戻り値

パックされた UINT64 値を 返します。

解説

この関数は、 IMFAttributes::SetUINT64 メソッドに適した 64 ビット値に 2 つの 32 ビット値を格納します。

要件

   
サポートされている最小のクライアント Windows 8 [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリ |UWP アプリ]
対象プラットフォーム Windows
ヘッダー mfapi.h

関連項目

MFGetAttributeRatio

MFGetAttributeSize

メディア ファンデーション機能