IsWindow

Syntax

BOOL IsWindow(hWnd)

This function determines whether the window identified by the hWnd parameter is a valid, existing window.

Parameter Type/Description  

hWnd HWND Identifies the window.  

Return Value

The return value specifies whether or not the given window is valid. It is nonzero if hWnd is a valid window. Otherwise, it is zero.