IMFCameraOcclusionStateReport::GetOcclusionState method (mfidl.h)

Gets the camera occlusion state associated with the occlusion state report.

Syntax

HRESULT GetOcclusionState(
  DWORD *occlusionState
);

Parameters

occlusionState

A DWORD output parameter containing a value from the MFCameraOcclusionState enumeration.

Return value

Error code Description
S_OK Succeeded
E_INVALIDARG occlusionState is nullptr.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header mfidl.h

See also

MFCameraOcclusionState