GetMouseMovePoints (Windows Embedded CE 6.0)

1/6/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.

Syntax

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

Parameters

  • 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.

Return Value

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

Remarks

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.

Requirements

Header windows.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

WM_LBUTTONDOWN
WM_MOUSEMOVE
POINT

Other Resources

Mouse Functions