| 
ExitProcess The ExitProcess function ends a process and all its threads. 
VB4-32,5,6 
Declare Sub ExitProcess Lib "kernel32" Alias "ExitProcess" (ByVal uExitCode As Long) | 
 
 
 
| 
Operating Systems Supported | 
 
 
| 
Requires Windows NT 3.1 or later; Requires Windows 95 or later | 
 
 
 
 
- uExitCode 
Specifies the exit code for the process, and for all threads that are terminated as a result of this call. Use the GetExitCodeProcess function to retrieve the process’s exit value. Use the GetExitCodeThread function to retrieve a thread’s exit value. | 
 
 
 
| 
This function does not return a value. | 
 
 
 
 |