Compartilhar via


GetMouseMovePoints (Windows CE 5.0)

Send Feedback

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(PPOINTpptBuf,UINTnBufPoints,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 Values

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

OS Versions: Windows CE 2.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.

See Also

WM_LBUTTONDOWN | WM_MOUSEMOVE | POINT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.