Indicates to the system that a thread has made a request to terminate (quit). It is typically used in response to a WM_DESTROY message.
VOID PostQuitMessage(int nExitCode // exit code);
DECLARE PostQuitMessage IN user32 INTEGER nExitCode
[in] Specifies an application exit code. This value is used as the wParam parameter of the WM_QUIT message.
This function does not return a value.
Calling PostQuitMessage within FoxPro application acts like ExitProcess -- it closes VFP. The difference that I can see between them (one affects a thread, another -- the whole process), probably is less important in VFP.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.