Group: Console - Library: kernel32
Creating a console window for Visual FoxPro application
BOOL SetConsoleTitle(
LPCTSTR lpConsoleTitle
);
DECLARE INTEGER SetConsoleTitle IN kernel32;
STRING lpConsoleTitle
lpConsoleTitle [in] Pointer to a null-terminated string that contains the string to be displayed in the title bar of the console window.
If the function succeeds, the return value is nonzero.
This function uses either Unicode characters or 8-bit characters from the current code page for the console.
See also: GetConsoleTitle, SetConsoleCP, SetConsoleOutputCP.