IMFCameraOcclusionStateMonitor::GetSupportedStates method (mfidl.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the occlusion states supported by the current device.

Syntax

DWORD GetSupportedStates();

Return value

A DWORD containing a bitwise OR combination of values from the MFCameraOcclusionState enumeration.

Remarks

To get the current occlusion state, call the IMFCameraOcclusionStateReport::GetOcclusionState method on the IMFCameraOcclusionStateReport passed to the IMFCameraOcclusionStateReportCallback::OnOcclusionStateReport callback.

Requirements

   
Header mfidl.h

See also

IMFCameraOcclusionStateReport IMFCameraOcclusionStateReportCallback::OnOcclusionStateReport