Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the proximity evaluation score and the adjusted touch-point coordinates as a packed value for the WM_TOUCHHITTESTING callback.
Syntax
LRESULT PackTouchHitTestingProximityEvaluation(
[in] const TOUCH_HIT_TESTING_INPUT *pHitTestingInput,
[in] const TOUCH_HIT_TESTING_PROXIMITY_EVALUATION *pProximityEval
);
Parameters
[in] pHitTestingInput
The TOUCH_HIT_TESTING_INPUT structure that holds the data for the touch contact area.
[in] pProximityEval
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | winuser.h |
Library | User32.lib |
DLL | User32.dll |