From 6103e4b19527b2b4f5ee35e9bf332e16bfce0b42 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Sat, 7 Aug 1999 12:33:35 +0000 Subject: [PATCH] Made hardware_event use win32-conformant parameters. --- include/queue.h | 2 +- windows/queue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/queue.h b/include/queue.h index 67b154cb2ad..058707e3ac2 100644 --- a/include/queue.h +++ b/include/queue.h @@ -166,7 +166,7 @@ extern QMSG* QUEUE_FindMsg( MESSAGEQUEUE * msgQueue, HWND hwnd, extern void QUEUE_RemoveMsg( MESSAGEQUEUE * msgQueue, QMSG *qmsg ); extern SMSG *QUEUE_RemoveSMSG( MESSAGEQUEUE *queue, int list, SMSG *smsg ); extern BOOL QUEUE_AddSMSG( MESSAGEQUEUE *queue, int list, SMSG *smsg ); -extern void hardware_event( WORD message, WORD wParam, LONG lParam, +extern void hardware_event( UINT message, WPARAM wParam, LPARAM lParam, int xPos, int yPos, DWORD time, DWORD extraInfo ); extern HQUEUE16 WINAPI InitThreadInput16( WORD unknown, WORD flags ); diff --git a/windows/queue.c b/windows/queue.c index e2275cd5977..57dc8bd90bd 100644 --- a/windows/queue.c +++ b/windows/queue.c @@ -1162,7 +1162,7 @@ static void QUEUE_WakeSomeone( UINT message ) * Add an event to the system message queue. * Note: the position is relative to the desktop window. */ -void hardware_event( WORD message, WORD wParam, LONG lParam, +void hardware_event( UINT message, WPARAM wParam, LPARAM lParam, int xPos, int yPos, DWORD time, DWORD extraInfo ) { MSG *msg;