PHANDLER_ROUTINE typedef

PHANDLER_ROUTINE = BOOL Function(DWORD dwCtrlType)

Application-defined callback function used with the SetConsoleCtrlHandler function. A console process uses this function to handle control signals received by the process. When the signal is received, the system creates a new thread in the process to execute the function.

Implementation

typedef PHANDLER_ROUTINE = BOOL Function(DWORD dwCtrlType);