IDXGIFactory2::UnregisterOcclusionStatus method (dxgi1_2.h)

Unregisters a window or an event to stop it from receiving notification when occlusion status changes.

Syntax

void UnregisterOcclusionStatus(
  [in] DWORD dwCookie
);

Parameters

[in] dwCookie

A key value for the window or event to unregister. The IDXGIFactory2::RegisterOcclusionStatusWindow or IDXGIFactory2::RegisterOcclusionStatusEvent method returns this value.

Return value

None

Remarks

Platform Update for Windows 7:  On Windows 7 or Windows Server 2008 R2 with the Platform Update for Windows 7 installed, UnregisterOcclusionStatus has no effect. For more info about the Platform Update for Windows 7, see Platform Update for Windows 7.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dxgi1_2.h
Library Dxgi.lib

See also

IDXGIFactory2