Skip to content

Latest commit

 

History

History
111 lines (79 loc) · 2.82 KB

nf-winuser-iswindow.md

File metadata and controls

111 lines (79 loc) · 2.82 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 req.apiset
NF:winuser.IsWindow
IsWindow function (winuser.h)
Determines whether the specified window handle identifies an existing window.
IsWindow
IsWindow function [Windows and Messages]
_win32_IsWindow
_win32_iswindow_cpp
winmsg.iswindow
winui._win32_iswindow
winuser/IsWindow
winmsg\iswindow.htm
winmsg
VS|winui|~\winui\windowsuserinterface\windowing\windows\windowreference\windowfunctions\iswindow.htm
12/05/2018
IsWindow, IsWindow function [Windows and Messages], _win32_IsWindow, _win32_iswindow_cpp, winmsg.iswindow, winui._win32_iswindow, winuser/IsWindow
winuser.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
User32.lib
User32.dll
Windows
19H1
IsWindow
winuser/IsWindow
c++
APIRef
kbSyntax
DllExport
User32.dll
API-MS-Win-NTUser-IE-Window-l1-1-0.dll
ie_shims.dll
API-MS-Win-RTCore-NTUser-Window-l1-1-0.dll
minuser.dll
Ext-MS-Win-NTUser-Window-l1-1-0.dll
Ext-MS-Win-NTUser-Window-l1-1-1.dll
Ext-MS-Win-NTUser-Window-l1-1-2.dll
Ext-MS-Win-RTCore-NTUser-Window-Ext-l1-1-0.dll
ext-ms-win-ntuser-window-l1-1-3.dll
Ext-MS-Win-NTUser-Window-L1-1-4.dll
IsWindow
ext-ms-win-ntuser-window-l1-1-0 (introduced in Windows 8)

IsWindow function

-description

Determines whether the specified window handle identifies an existing window.

-parameters

-param hWnd [in, optional]

Type: HWND

A handle to the window to be tested.

-returns

Type: BOOL

If the window handle identifies an existing window, the return value is nonzero.

If the window handle does not identify an existing window, the return value is zero.

-remarks

A thread should not use IsWindow for a window that it did not create because the window could be destroyed after this function was called. Further, because window handles are recycled the handle could even point to a different window.

Examples

For an example, see Creating a Modeless Dialog Box.

-see-also

Conceptual

IsWindowEnabled

IsWindowVisible

Reference

Windows