Group: Console - Library: kernel32
Creating a console window for Visual FoxPro application
BOOL FreeConsole(void);
DECLARE INTEGER FreeConsole IN kernel32
This function has no parameters.
If the function succeeds, the return value is nonzero.
A process can use FreeConsole to detach itself from its current console, and then it can call the AllocConsole function to create a new console or AttachConsole to attach to another console.