 |
TerminateProcess ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The TerminateProcess function terminates the specified process and all of its threads. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL TerminateProcess(
HANDLE hProcess, // handle to the process
UINT uExitCode // exit code for the process
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER TerminateProcess IN kernel32;
INTEGER hProcess,;
INTEGER uExitCode
|
 |
 |
 |
| Parameters: |
 |
hProcess
[in] Handle to the process to terminate.
uExitCode
[in] Specifies the exit code for the process and for all threads terminated as a result of this call. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| Word Index links for the TerminateProcess : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-09-18 12:00:00 | | Modified: | 2002-01-10 18:44:55 | Visited in last 7 days: 61 |