Registers an occlusion status window.
public:
HRESULT RegisterOcclusionStatusWindow(
HWND WindowHandle,
UINT wMsg,
DWORD *pdwCookie
)
WindowHandle
Type: HWND
[in] The handle to the window.
wMsg
Type: UINT
[in] The message number.
pdwCookie
Type: DWORD *
[out] The cookie for occlusion.
Type: HRESULT
A DXGI_ERROR return code. S_OK indicates that the interface is supported, otherwise DXGI_ERROR_UNSUPPORTED is returned.
Header: Declared in d3d11_x.h (dxgi1_2.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).