GetMouseMovePoints

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function retrieves points, associated with WM_LBUTTONDOWN and WM_MOUSEMOVE messages, that the OS typically discards when an application cannot process these messages as fast as the application receives these messages.


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

pptBuf

[out] Pointer to an array of POINT structures. This buffer contains the points retrieved from the current mouse move.

nBufPoints

[in] Unsigned integer that specifies the size, in points, of the buffer passed in the pptBuf parameter.

pnPointsRetrieved

[out] Pointer to an unsigned integer. This parameter contains the number of points actually retrieved into the pptBuf buffer.

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.

This function allows an application to track mouse or stylus input at a somewhat higher resolution than the resolution of the display screen. This behavior improves inking performance. This function does not draw the ink, but just allows you to collect the points more easily so that another function can draw the ink.

This function is not supported for emulation.

Headerwindows.h
Librarycoredll.lib
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: