GetMouseMovePoints

The GetMouseMovePoints function retrieves points — associated with WM_LBUTTONDOWN and WM_MOUSEMOVE messages — that would typically be discarded because an application cannot process these messages as fast as they are received.

Syntax

BOOL WINAPI GetMouseMovePoints (PPOINT pptBuf, UINT nBufPoints, UINT *pnPointsRetrieved);

At a Glance

Header file: Winuser.h
Component: Mainusrq
Platforms: H/PC
Windows CE versions: 2.0 and later

Parameters

pptBuf
A pointer to an array of points. On return, this buffer contains the points retrieved from the current mouse move.
nBufPoints
The size, in points, of the buffer passed in the pptBuf parameter.
pnPointsRetrieved
A pointer to an unsigned integer. On return, this parameter contains the number of points actually retrieved into the pptBuf buffer.

Return Values

If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError.

Remarks

The GetMouseMovePoints function allows an application to track stylus input at a somewhat higher resolution than the resolution of the display screen. This makes it possible to improve inking performance. GetMouseMovePoints does not draw the ink; it just makes it easier to collect the points so another function can draw them.

GetMouseMovePoints is not supported for emulation.

See Also

WM_LBUTTONDOWN, WM_MOUSEMOVE, POINT