Share via


TKGetGestureMetrics

4/8/2010

Used to retrieve the touch gesture recognition metrics (i.e. distance and time tolerances used by the touch gesture engine) for a specific gesture.

Syntax

BOOL TKGetGestureMetrics(
        LPGESTUREMETRICS lpGestureMetricsInfo
);

Parameters

  • lpGestureMetricsInfo
    [in/out] Pointer to a GESTUREMETRICS struct.

    This value cannot be NULL.

    The caller must set the dwID field to one of the following:

    GID_PAN

    GID_ SCROLL

    GID_HOLD

    GID_SELECT

    GID_DOUBLESELECT

    All other fields will be overwritten as needed, based on the dwID value.

    cbSize needs to be set correctly when calling the function.

Return Value

Returns TRUE if successful, or FALSE in the event of an error. To get extended error information, call GetLastError.

Requirements

Header Gesture.h

See Also

Other Resources

Using Gestures in Windows Mobile 6.5