The IsWindow function determines whether the specified window handle identifies an existing window.
BOOL IsWindow(
HWND hWnd // handle to window
);
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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Windows Overview, Window Functions, IsWindowEnabled, IsWindowVisible