Previous: 4.74.2.13. GetArgStr function To the Table of Contents Next: 4.74.2.15. GetCurDir function
4.74.2.13. GetArgStr function Table of Contents 4.74.2.15. GetCurDir function

- 4.74.2.14. -
Table of Contents
4. Standard Units
4.74. WinDos - MS-DOS function emulation for OS/2 and Win32
4.74.2. WinDos Unit Procedures and Functions
4.74.2.14. GetCBreak procedure


4.74.2.14. GetCBreak procedure

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.


Previous: 4.74.2.13. GetArgStr function To the Table of Contents Next: 4.74.2.15. GetCurDir function
4.74.2.13. GetArgStr function Table of Contents 4.74.2.15. GetCurDir function

- 4.74.2.14. -