Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 3.08 KB

nf-d2d1-id2d1hwndrendertarget-checkwindowstate.md

File metadata and controls

71 lines (57 loc) · 3.08 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d2d1.ID2D1HwndRenderTarget.CheckWindowState
ID2D1HwndRenderTarget::CheckWindowState (d2d1.h)
Indicates whether the HWND associated with this render target is occluded.
CheckWindowState
CheckWindowState method [Direct2D]
CheckWindowState method [Direct2D]
ID2D1HwndRenderTarget interface
ID2D1HwndRenderTarget interface [Direct2D]
CheckWindowState method
ID2D1HwndRenderTarget.CheckWindowState
ID2D1HwndRenderTarget::CheckWindowState
d2d1/ID2D1HwndRenderTarget::CheckWindowState
direct2d.ID2D1HwndRenderTarget_CheckWindowState
direct2d\ID2D1HwndRenderTarget_CheckWindowState.htm
Direct2D
f40d46dc-04ec-4d11-bc3e-96043b16dcb3
12/05/2018
CheckWindowState, CheckWindowState method [Direct2D], CheckWindowState method [Direct2D],ID2D1HwndRenderTarget interface, ID2D1HwndRenderTarget interface [Direct2D],CheckWindowState method, ID2D1HwndRenderTarget.CheckWindowState, ID2D1HwndRenderTarget::CheckWindowState, d2d1/ID2D1HwndRenderTarget::CheckWindowState, direct2d.ID2D1HwndRenderTarget_CheckWindowState
d2d1.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
D2d1.lib
D2d1.dll
Windows
19H1
ID2D1HwndRenderTarget::CheckWindowState
d2d1/ID2D1HwndRenderTarget::CheckWindowState
c++
APIRef
kbSyntax
COM
D2d1.dll
ID2D1HwndRenderTarget.CheckWindowState

ID2D1HwndRenderTarget::CheckWindowState

-description

Indicates whether the HWND associated with this render target is occluded.

-returns

Type: D2D1_WINDOW_STATE

A value that indicates whether the HWND associated with this render target is occluded.

-remarks

Note  If the window was occluded the last time that EndDraw was called, the next time that the render target calls CheckWindowState, it will return D2D1_WINDOW_STATE_OCCLUDED regardless of the current window state. If you want to use CheckWindowState to determine the current window state, you should call CheckWindowState after every EndDraw call and ignore its return value. This call will ensure that your next call to CheckWindowState state will return the actual window state.
 

-see-also

ID2D1HwndRenderTarget