This is defined elsewhere as the 'ConsoleCtrlDelegate' : http://pinvoke.net/search.aspx?search=ConsoleCtrlDelegate&namespace=[All] but if you are searching for the Microsoft Terminology name, you'd be calling it the HandlerRoutine
delegate bool ConsoleCtrlDelegate(CtrlTypes CtrlType);
or
delegate bool HandlerRoutine(CtrlTypes CtrlType);
Declare Function HandlerRoutine Lib "kernel32.dll" (TODO) As TODO
// Enumerated type for the control messages sent to the handler routine
enum CtrlTypes : uint
{
CTRL_C_EVENT = 0,
CTRL_BREAK_EVENT,
CTRL_CLOSE_EVENT,
CTRL_LOGOFF_EVENT = 5,
CTRL_SHUTDOWN_EVENT
}
Do you know one? Please contribute it!
None.
Please add some!
Please add some!