Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This function is called to initialize the Calibrui component.
void TouchCalibrateUI_Initialize( TOUCH_CALIBRATE_STATE * ptcs , HINSTANCE hinst );
Parameters
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. |
Return Values
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
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.10 and later | Calibrui.h |
See Also
TouchCalibrateUI_Done, TouchCalibrateUI_DrawConfirmationScreen, TouchCalibrateUI_DrawMainScreen, TouchCalibrateUI_HandleUserInputMessage, TouchCalibrateUI_WaitForConfirmation