DXUTShutdown

Triggers program termination and DXUT cleanup.

VOID DXUTShutdown(
  int nExitCode
);

Parameters

nExitCode
[in] The exit code returned via the DXUTGetExitCode function. The default value is 0

Return Values

No return value.

Remarks

It is not necessary for the application to call this function, since the application lifespan is handled by the framework. However, the application can call this function to cleanly terminate the application process.

Requirements

Header: Declared in Dxut.h.