IMFCameraOcclusionStateMonitor::GetSupportedStates method (mfidl.h)


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.


DWORD GetSupportedStates();

Return value

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


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


Header mfidl.h

See also

IMFCameraOcclusionStateReport IMFCameraOcclusionStateReportCallback::OnOcclusionStateReport