IMFCameraOcclusionStateReport::GetOcclusionState 方法 (mfidl.h)
取得與遮蔽狀態報告相關聯的相機遮蔽狀態。
語法
HRESULT GetOcclusionState(
DWORD *occlusionState
);
參數
occlusionState
DWORD 輸出參數,其中包含來自 MFCameraOcclusionState 列舉的值。
傳回值
錯誤碼 | 描述 |
---|---|
S_OK | 成功 |
E_INVALIDARG | occlusionState 為 nullptr。 |
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 組建 22000 |
最低支援的伺服器 | Windows 組建 22000 |
標頭 | mfidl.h |