Stefan Leichter : user32: Added stub for GetMouseMovePointsEx.
Alexandre Julliard
julliard at winehq.org
Mon Feb 25 06:51:42 CST 2008
Module: wine
Branch: master
Commit: 684a5b4bab24266160356376b668ddcb66ef356a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=684a5b4bab24266160356376b668ddcb66ef356a
Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date: Sat Feb 23 09:44:02 2008 +0100
user32: Added stub for GetMouseMovePointsEx.
---
dlls/user32/input.c | 25 +++++++++++++++++++++++++
dlls/user32/user32.spec | 2 +-
2 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index 354272b..a24980b 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -1087,3 +1087,28 @@ TrackMouseEvent (TRACKMOUSEEVENT *ptme)
return TRUE;
}
+
+/***********************************************************************
+ * GetMouseMovePointsEx [USER32]
+ *
+ * RETURNS
+ * Success: count of point set in the buffer
+ * Failure: -1
+ */
+int WINAPI GetMouseMovePointsEx(UINT size, LPMOUSEMOVEPOINT ptin, LPMOUSEMOVEPOINT ptout, int count, DWORD res) {
+
+ if((size != sizeof(MOUSEMOVEPOINT)) || (count < 0) || (count > 64)) {
+ SetLastError(ERROR_INVALID_PARAMETER);
+ return -1;
+ }
+
+ if(!ptin || !ptout) {
+ SetLastError(ERROR_NOACCESS);
+ return -1;
+ }
+
+ FIXME("(%d %p %p %d %d) stub\n", size, ptin, ptout, count, res);
+
+ SetLastError(ERROR_POINT_NOT_FOUND);
+ return -1;
+}
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 1c35ecc..7d252cc 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -328,7 +328,7 @@
@ stdcall GetMessageW(ptr long long long)
@ stdcall GetMonitorInfoA(long ptr)
@ stdcall GetMonitorInfoW(long ptr)
-# @ stub GetMouseMovePointsEx
+@ stdcall GetMouseMovePointsEx(long ptr ptr long long)
@ stdcall GetNextDlgGroupItem(long long long)
@ stdcall GetNextDlgTabItem(long long long)
# @ stub GetNextQueueWindow
More information about the wine-cvs
mailing list