Jump to content

DSPMASK: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Display/Data Conversion Mask ===
=== Display/Data Conversion Mask ===
Conversion mask. This is a bit mask. If the bit is on, the corresponding character 0x00-0x1f is treated as a control. Otherwise it is treated as a glyph.
Conversion mask. This is a bit mask. If the bit is on, the corresponding character 0x00-0x1f is treated as a control. Otherwise it is treated as a glyph.


==== DSPMASK_CR ====
;DSPMASK_CR : 0x00002000 : CR is a control; others are glyphs.
; 0x00002000 : CR is a control; others are glyphs.
;DSPMASK_CRLF : 0x00002400 : CR and LF are controls; others are glyphs.
;DSPMASK_DATA : 0xffffffff : All characters less than space are controls.
;DSPMASK_DISPLAY : 0x00000000 : All characters less than space are glyphs.
;DSPMASK_LF : 0x00000400 : LF is a control; others are glyphs.
;DSPMASK_TAB : 0x00000200 : TAB is a control; others are glyphs.


==== DSPMASK_CRLF ====
[[Category:Constant]]
; 0x00002400 : CR and LF are controls; others are glyphs.
 
==== DSPMASK_DATA ====
; 0xffffffff : All characters less than space are controls.
 
==== DSPMASK_DISPLAY ====
; 0x00000000 : All characters less than space are glyphs.
 
==== DSPMASK_LF ====
; 0x00000400 : LF is a control; others are glyphs.
 
==== DSPMASK_TAB ====
; 0x00000200 : TAB is a control; others are glyphs.
 
[[Category:The OS/2 API Project]]

Latest revision as of 20:38, 8 February 2020

Display/Data Conversion Mask

Conversion mask. This is a bit mask. If the bit is on, the corresponding character 0x00-0x1f is treated as a control. Otherwise it is treated as a glyph.

DSPMASK_CR
0x00002000 : CR is a control; others are glyphs.
DSPMASK_CRLF
0x00002400 : CR and LF are controls; others are glyphs.
DSPMASK_DATA
0xffffffff : All characters less than space are controls.
DSPMASK_DISPLAY
0x00000000 : All characters less than space are glyphs.
DSPMASK_LF
0x00000400 : LF is a control; others are glyphs.
DSPMASK_TAB
0x00000200 : TAB is a control; others are glyphs.