This 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.
At a Glance
Header file: | Winuser.h |
Windows CE versions: | 2.0 and later |
Syntax
BOOL WINAPI GetMouseMovePoints (PPOINT pptBuf, UINT nBufPoints, UINT *pnPointsRetrieved);
Parameters
pptBuf
Pointer to an array of points. On return, this buffer contains the points retrieved from the current mouse move.
nBufPoints
Specifies the size, in points, of the buffer passed in the pptBuf parameter.
pnPointsRetrieved
Pointer to an unsigned integer. On return, this parameter contains the number of points actually retrieved into the pptBuf buffer.
Return Values
TRUE indicates success. FALSE indicates failure. 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