HandlerProc typedef Null safety
- Uint32 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.
typedef HandlerProc = Int32 Function(Uint32 dwCtrlType);