IsWindow

The IsWindow function determines whether the specified window handle identifies an existing window.

BOOL IsWindow(
  HWND hWnd   // handle to window
);
 

Parameters

hWnd
Handle to the window to test.

Return Values

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.

QuickInfo

  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.

See Also

Windows Overview, Window Functions, IsWindowEnabled, IsWindowVisible