TouchCalibrateUI_Initialize (Compact 2013)
3/28/2014
This function is called to initialize the Calibrui component.
Syntax
void TouchCalibrateUI_Initialize(
TOUCH_CALIBRATE_STATE* ptcs,
HINSTANCE hinst
);
Parameters
ptcs
Pointer to the calibration state variable*.* The following table shows the possible values for this variable.Value
Description
TCS_UNSTARTED
Calibration has not started.
TCS_STARTED
Calibration has started.
TCS_CONFIRMING
Calibration is being confirmed.
TCS_ACCEPTED
Calibration has been accepted.
TCS_REJECTED
Calibration has been rejected.
- hinst
HINSTANCE to use when loading resources.
Return Value
None.
Remarks
The calibration state variable contains the current state of the calibration sequence process. This address can be saved and used in subsequent calls to other functions that need to know the value of this variable.
TouchCalibrateUI_Initialize also informs Calibrui of the current HINSTANCE, which is used to load resources.
Requirements
Header |
calibrui.h |
See Also
Reference
Touch Calibration Functions
TouchCalibrateUI_Done
TouchCalibrateUI_DrawConfirmationScreen
TouchCalibrateUI_DrawMainScreen
TouchCalibrateUI_HandleUserInputMessage
TouchCalibrateUI_WaitForConfirmation