- 4.24.2.15. -
Table of Contents
4. Standard Units
4.24. DOS - MSDOS support unit
4.24.2. DOS Unit Procedures and Functions
4.24.2.15. GetCBreak
4.24.2.15. GetCBreak
Targets: MS-DOS, OS/2, Win32
Dos Unit, WinDos Unit
Returns the state of Ctrl-Break checking in DOS.
Declaration:
procedure GetCBreak(var Break: Boolean);
Remarks:
State returns True if Ctrl-Break is enabled, otherwise False.
With Ctrl-Break checking enabled, all I/O calls (console, printer,
and communications) are checked. To set Ctrl-Break either on or off,
use SetCBreak.
Win32 target:
GetCBreak not changes the Break variable, since this service
is not provided by Windows API.
- 4.24.2.15. -