MFCreateSensorProfile 関数 (mfidl.h)

指定した型、インデックス、およびオプションの制約に基づいて、センサー プロファイルを作成します。

構文

HRESULT MFCreateSensorProfile(
  [in]           REFGUID          ProfileType,
  [in, out]      UINT32           ProfileIndex,
  [in, optional] LPCWSTR          Constraints,
  [out]          IMFSensorProfile **ppProfile
);

パラメーター

[in] ProfileType

作成するプロファイルの種類。

[in, out] ProfileIndex

プロファイル インデックス。

[in, optional] Constraints

プロファイルに配置する任意の制約。

[out] ppProfile

成功した場合は、センサー プロファイルを含む IMFSensorProfile へのダブル ポインターを返します。

戻り値

この関数は値を返しません。

要件

要件
サポートされている最小のクライアント Windows 10バージョン 1803 [デスクトップ アプリのみ]
サポートされている最小のサーバー サポートなし
対象プラットフォーム Windows
ヘッダー mfidl.h
Library Mfsensorgroup.lib
[DLL] Mfsensorgroup.dll