Share via


TouchCalibrateUI_Initialize (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

TouchCalibrateUI_Done
TouchCalibrateUI_DrawConfirmationScreen
TouchCalibrateUI_DrawMainScreen
TouchCalibrateUI_HandleUserInputMessage
TouchCalibrateUI_WaitForConfirmation

Other Resources

Touch Screen Calibration Functions