user32: Added stub for GetMouseMovePointsEx.

This commit is contained in:
Stefan Leichter 2008-02-23 09:44:02 +01:00 committed by Alexandre Julliard
parent 0640dbb620
commit 684a5b4bab
2 changed files with 26 additions and 1 deletions

View File

@ -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;
}

View File

@ -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