次の方法で共有


GetMouseMovePoints (Compact 2013)

3/28/2014

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

See Also

Reference

Mouse Functions
WM_LBUTTONDOWN
WM_MOUSEMOVE
POINT