PackTouchHitTestingProximityEvaluation function

Returns the proximity evaluation score and the adjusted touch-point coordinates as a packed value for the WM_TOUCHHITTESTING callback.

Syntax


WINUSERAPI LRESULT WINAPI PackTouchHitTestingProximityEvaluation(
  _In_  const TOUCH_HIT_TESTING_INPUT *pHitTestingInput,
  _In_  const TOUCH_HIT_TESTING_PROXIMITY_EVALUATION *pProximityEval
);

Parameters

pHitTestingInput [in]

The TOUCH_HIT_TESTING_INPUT structure that holds the data for the touch contact area.

pProximityEval [in]

The TOUCH_HIT_TESTING_PROXIMITY_EVALUATION structure that holds the score and adjusted touch-point data that the EvaluateProximityToPolygon or EvaluateProximityToRect function returns.

Return value

If this function succeeds, it returns the score and adjustedPoint values from TOUCH_HIT_TESTING_PROXIMITY_EVALUATION as an LRESULT. To retrieve extended error information, call the GetLastError function.

Remarks

Usually, this is the last function that's called in a WM_TOUCHHITTESTING handler.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

None supported

Header

Winuser.h

Library

User32.lib

DLL

User32.dll

See also

Functions
Touch Hit Testing Scores

 

 

Community Additions

ADD
Show:
© 2014 Microsoft