MAGE  v0.171.0
Matthias Advanced Game Engine
mage::anonymous_namespace{logging.cpp} Namespace Reference

Functions

constexpr BOOL WINAPI ConsoleCloseHandler (DWORD control_type) noexcept
 

Function Documentation

◆ ConsoleCloseHandler()

constexpr BOOL WINAPI mage::anonymous_namespace{logging.cpp}::ConsoleCloseHandler ( DWORD  control_type)
noexcept

Handler callback for handling the user closing the console (either by clicking the "Close" button on the console window's window menu, or by clicking the "End Task" button command from the Task Manager).

Parameters
[in]control_typeThe type of control signal received by the handler.
Returns
TRUE if the function handles the control signal (i.e. CTRL_CLOSE_EVENT). FALSE otherwise.