A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
Kernel32

Parameter Information
- dwExitCode
Specifies the exit code for the calling thread. Use the GetExitCodeThread function to retrieve a thread’s exit code.

Return Values
This function does not return a value.

Last update: 07 April 2006