$SSHQGL[%
Programming Options
∙
∙Launching the Touchscreen Control Panel 29
∙Calibrating from Within Your Program 29
Z-AXIS CAPABILITIES
Windows NT programmers can take advantage of IntelliTouch
To access the Z reporting capabilities of the driver in Win32, the device is accessed via its Win32 name "MMDev". The CreateFile function opens the MMDev device and returns a handle to it. This handle is subsequently used in the DeviceIoControl function call which is the mechanism used to obtain Z data from the driver. The I/O control code IOCTL_MM_ZAXIS_SUPPORT is the parameter used to query the driver to see if the controller supports Z reporting capabilities (IntelliTouch). The I/O control code IOCTL_MM_ZAXIS is the function parameter passed to the DeviceIoControl function to obtain Z data.
27