GetMouseMovePoints

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.

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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Winuser.h   Wmgr_c.lib, Uibase.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

WM_LBUTTONDOWN, WM_MOUSEMOVE, POINT

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.