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 |
程式庫 | Mfsensorgroup.lib |
Dll | Mfsensorgroup.dll |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應