server: Split the queuing of hardware messages into a separate send_hardware_message request.
diff --git a/server/protocol.def b/server/protocol.def
index 25e93e9..27122ab 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -1571,9 +1571,6 @@
unsigned int msg; /* message code */
unsigned long wparam; /* parameters */
unsigned long lparam; /* parameters */
- int x; /* x position */
- int y; /* y position */
- unsigned int time; /* message time */
unsigned int info; /* extra info */
int timeout; /* timeout for reply */
void* callback; /* callback address */
@@ -1599,6 +1596,20 @@
#define SEND_MSG_ABORT_IF_HUNG 0x01
+/* Send a hardware message to a thread queue */
+@REQ(send_hardware_message)
+ thread_id_t id; /* thread id */
+ user_handle_t win; /* window handle */
+ unsigned int msg; /* message code */
+ unsigned long wparam; /* parameters */
+ unsigned long lparam; /* parameters */
+ int x; /* x position */
+ int y; /* y position */
+ unsigned int time; /* message time */
+ unsigned int info; /* extra info */
+@END
+
+
/* Get a message from the current queue */
@REQ(get_message)
int flags; /* see below */