ExitThread function kernel32

void ExitThread(
  1. int dwExitCode
)

Ends the calling thread.

void ExitThread(
  DWORD dwExitCode
);

Implementation

void ExitThread(int dwExitCode) => _ExitThread(dwExitCode);