TouchCalibrateUI_Initialize

This function is called to initialize the Calibrui component.

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 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

OS Versions: Windows CE 2.10 and later.
Header: Calibrui.h.

See Also

TouchCalibrateUI_Done | TouchCalibrateUI_DrawConfirmationScreen | TouchCalibrateUI_DrawMainScreen | TouchCalibrateUI_HandleUserInputMessage | TouchCalibrateUI_WaitForConfirmation

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.