[Patch] SysSetCtrlBreakHandler for Windows
Original Reporter info from Mantis: skalogryyz
-
Reporter name: Dmitry Boyarintsev
Original Reporter info from Mantis: skalogryyz
- Reporter name: Dmitry Boyarintsev
Description:
the patch implements SysSetCtrlBreakHandler for Windows system.
Per RTL comments:
(* It is possible to provide platform specific implementation performing *)
(* special initialization; default implementation just sets the procedural *)
(* variable to make it available for use from the exception handler. *)
here's Windows
Additional information:
attaching three (NON-automatic) tests
test1 - ctrl-break with a handler
test2 - ctrl-break with a handler set and then reset to nil (restoring system default handler)
test3 - ctrl-break with a handler returning false (causing the default system behaviour)
Mantis conversion info:
- Mantis ID: 31023
- Fixed in version: 3.1.1
- Fixed in revision: 35051 (#8038b2e6)