This documentation is archived and is not being maintained.

CorExitProcess

Shuts down the current unmanaged process.

Syntax

void STDMETHODCALLTYPE CorExitProcess(
  int exitCode
);

Header file: Include Mscoree.h.

Library: Link with Mscoree.lib.

Parameters

exitCode
An integer indicating the process exit code.
Show: