|
WinStd
Windows Win32 API using Standard C++
|
Console control handler stack management. More...
#include <WinStd/Win.h>
Public Member Functions | |
| console_ctrl_handler (PHANDLER_ROUTINE HandlerRoutine) noexcept | |
| Construct the console control handler object and pushes the given handler to the console control handler stack. | |
| virtual | ~console_ctrl_handler () |
| Pops console control handler from the console control handler stack. | |
Protected Attributes | |
| BOOL | m_cookie |
| Did pushing the console control handler succeed? | |
| PHANDLER_ROUTINE | m_handler |
| Pointer to console control handler. | |
Console control handler stack management.
|
inlinenoexcept |
Construct the console control handler object and pushes the given handler to the console control handler stack.
| [in] | HandlerRoutine | A pointer to the application-defined HandlerRoutine function to be added. |
|
inlinevirtual |
Pops console control handler from the console control handler stack.