Specifications
Appendix D - CTKERN Function Reference CARROLL TOUCH
D-10 Touch System Programmer’s Guide
GetCurrentScalingModeAndParameters (10)
Description
This function gets the current scaling mode and the current scaling
parameters. The scaling mode determines how the touch coordinates
reported by CTKERN are scaled.
If the scaling mode is set to disabled, the contents of the scaling data
structure are undefined.
Call with
AL = 10 (function number).
CX = Segment of four-word buffer to hold the scaling data
structure.
DX = Offset of four-word buffer to hold the scaling data
structure.
Returns
BL = Scaling mode.
00 = Scaling disabled.
01 = Fixed scaling.
02 = Automatic scaling.
The scaling data structure that contains the scaling data for the scaling
that is in effect at the time that this function is called is placed in the
buffer that was pointed to by CX and DX. The scaling data structure is:
WORD Upper Left X
WORD Upper Left Y
WORD Lower Right X
WORD Lower Right Y










