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 |