ExitProcess

ExitProcess ends a process and all its threads.

Syntax

VOID ExitProcess(
    UINT uExitCode
);

Parameters

uExitCode

Ignored.

Return Value

This function does not return a value.

Remarks

ExitProcess, ExitThread, CreateThread, and a process that is starting are serialized between each other within a process. Only one of these events can occur in an address space at a time.

Requirements

Minimum Supported Version RTX64 2013
Header windows.h
Library Rtx_Rtss.lib

See Also

CreateThread

ExitThread

GetExitCodeThread