Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 956 Bytes

GetWindowInfo.md

File metadata and controls

46 lines (32 loc) · 956 Bytes

Home

Function name : GetWindowInfo

Group: Window - Library: user32


The GetWindowInfo function retrieves information about the specified window.


Code examples:

Scanning the hierarchy of child windows down from the main VFP window

Declaration:

BOOL GetWindowInfo(
  HWND hwnd,       // handle to window
  PWINDOWINFO pwi  // window information
);  

FoxPro declaration:

DECLARE INTEGER GetWindowInfo IN user32;
	INTEGER   hwnd,;
	STRING  @ pwi  

Parameters:

hwnd [in] Handle to the window whose information is to be retrieved.

pwi [out] Pointer to a WINDOWINFO structure to receive the information.


Return value:

If the function succeeds, the return value is nonzero.