GetGestureExtraArgs function (winuser.h)

Retrieves additional information about a gesture from its GESTUREINFO handle.

Syntax

BOOL GetGestureExtraArgs(
  [in]  HGESTUREINFO hGestureInfo,
  [in]  UINT         cbExtraArgs,
  [out] PBYTE        pExtraArgs
);

Parameters

[in] hGestureInfo

The handle to the gesture information that is passed in the lParam of a WM_GESTURE message.

[in] cbExtraArgs

A count of the bytes of data stored in the extra arguments.

[out] pExtraArgs

A pointer to the extra argument information.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, use the GetLastError function.

Remarks

This function is reserved for future use and should only be used for testing. Windows 7 gestures do not use extra arguments.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll

See also

Functions

GetGestureInfo

Programming Guide for Gestures