CRT Documentation: Reference |
[This type does not have a corresponding DOS type.]
Used when calling SaveCrtState to specify which states to save.
TCrtSaveStates = set of (csScreen, csCursorPos, csCursor, csTextAttr, csMode, csWindow, csVars );
This set is used with SaveCrtState to specify which states to save. Generally, the memory allocated is the same no matter what states are saved, the exception is csScreen, which consumes ScreenWidth * ScreenHeight * SizeOf(CHAR_INFO) bytes of memory. If csScreen is omitted, that memory is not allocated, otherwise the only gain may be a slight speed up in execution from not having to save and restore the extra fields (which will be minimal).
Crt Overview, SaveCrtState