IMFCameraOcclusionStateReportCallback::OnOcclusionStateReport method (mfidl.h)
Called by the system when the camera occlusion state changes.
Syntax
HRESULT OnOcclusionStateReport(
IMFCameraOcclusionStateReport *occlusionStateReport
);
Parameters
occlusionStateReport
An IMFCameraOcclusionStateReport that can be used to obtain the new camera occlusion state.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
To avoid any possible circular locking situation do not call any IMFCameraOcclusionStateMonitor object methods from this callback function.
Register the callback interface by calling MFCreateCameraOcclusionStateMonitor.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | mfidl.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for