Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 875 Bytes

GetConsoleWindow.md

File metadata and controls

39 lines (25 loc) · 875 Bytes

Home

Function name : GetConsoleWindow

Group: Console - Library: kernel32


The GetConsoleWindow function retrieves the window handle used by the console associated with the calling process.


Code examples:

Saying "Hello World!" with VFP and WinAPI
Creating a console window for Visual FoxPro application

Declaration:

HWND GetConsoleWindow(void);
  

FoxPro declaration:

DECLARE INTEGER GetConsoleWindow IN kernel32  

Parameters:

This function has no parameters.


Return value:

The return value is a handle to the window used by the console associated with the calling process or NULL if there is no such associated console.