[Wine-patches] server: Update server_protocol.h and trace.c (eterbug #2726).

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пн Окт 27 19:45:55 MSK 2008


----------- следующая часть -----------
From 7d81bc052251274cdadd96941cf0052b325eaeff Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Mon, 27 Oct 2008 18:04:07 +0300
Subject: [PATCH] server: Update server_protocol.h and trace.c (eterbug #2726).

---
 include/wine/server_protocol.h |   12 +++++++++++-
 server/trace.c                 |    2 ++
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/include/wine/server_protocol.h b/include/wine/server_protocol.h
index 386de71..e187ea9 100644
--- a/include/wine/server_protocol.h
+++ b/include/wine/server_protocol.h
@@ -4279,6 +4279,8 @@ struct add_fd_completion_reply
     struct reply_header __header;
 };
 
+
+
 struct call_add_device_request
 {
     struct request_header __header;
@@ -4291,17 +4293,23 @@ struct call_add_device_reply
     struct reply_header __header;
 };
 
+
+
 struct get_add_device_request_request
 {
     struct request_header __header;
+    obj_handle_t    event;
     /* VARARG(drvname,unicode_str); */
 };
 struct get_add_device_request_reply
 {
     struct reply_header __header;
+    obj_handle_t    event;
     /* VARARG(data,bytes); */
 };
 
+
+
 struct get_window_layered_info_request
 {
     struct request_header __header;
@@ -4315,6 +4323,8 @@ struct get_window_layered_info_reply
     unsigned int   flags;
 };
 
+
+
 struct set_window_layered_info_request
 {
     struct request_header __header;
@@ -5056,6 +5066,6 @@ union generic_reply
     struct set_window_layered_info_reply set_window_layered_info_reply;
 };
 
-#define SERVER_PROTOCOL_VERSION 10343
+#define SERVER_PROTOCOL_VERSION 10344
 
 #endif /* __WINE_WINE_SERVER_PROTOCOL_H */
diff --git a/server/trace.c b/server/trace.c
index 5d3b9a1..68f089b 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -3790,12 +3790,14 @@ static void dump_call_add_device_request( const struct call_add_device_request *
 
 static void dump_get_add_device_request_request( const struct get_add_device_request_request *req )
 {
+    fprintf( stderr, " event=%p,", req->event );
     fprintf( stderr, " drvname=" );
     dump_varargs_unicode_str( cur_size );
 }
 
 static void dump_get_add_device_request_reply( const struct get_add_device_request_reply *req )
 {
+    fprintf( stderr, " event=%p,", req->event );
     fprintf( stderr, " data=" );
     dump_varargs_bytes( cur_size );
 }
-- 
1.5.6.5.GIT



Подробная информация о списке рассылки Wine-patches