 |
PostQuitMessage Add comment W32 Constants Translate this page |
 |
 |
|
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. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
VOID PostQuitMessage(
int nExitCode // exit code
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE PostQuitMessage IN user32 INTEGER nExitCode
|
 |
 |
 |
| Parameters: |
 |
nExitCode
[in] Specifies an application exit code. This value is used as the wParam parameter of the WM_QUIT message. |
 |
 |
| Return value: |
 |
| This function does not return a value. |
 |
 |
| My comment: |
 |
| 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. |
 |
 |
| Word Index links for the PostQuitMessage : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-09 12:00:00 | | Modified: | 2001-11-26 16:03:08 | Visited in last 7 days: 16 |