ExitThread The ExitThread function ends a thread.
VB4-32,5,6
Declare Sub ExitThread Lib "kernel32" Alias "ExitThread" (ByVal dwExitCode As Long) |
VB.NET
System.Threading.Thread.Abort |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- dwExitCode
Specifies the exit code for the calling thread. Use the GetExitCodeThread function to retrieve a thread’s exit code. |
This function does not return a value. |
|