PATCH[4/6] server:API Request Handlers
shanmukha sainath addepalli
sainath.addepalli at gmail.com
Sat Aug 29 00:52:29 CDT 2009
Hi,
In this patch the server side request handlers for SwitchDesktop and
OpenInputDesktop API are declared.
--
Regards
Sainath A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090829/022aca5f/attachment-0001.htm>
-------------- next part --------------
From 0090f1477894adbc98fa72973668fa78bec5b2a1 Mon Sep 17 00:00:00 2001
From: Sainath Addepalli <sainath.addepalli at gmail.com>
Date: Fri, 28 Aug 2009 18:32:11 +0530
Subject: Desktop API Reequest Handlers
---
server/protocol.def | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/server/protocol.def b/server/protocol.def
index 9748931..b2b6ba2 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -2561,6 +2561,16 @@ enum message_type
@END
+/* Open Input Desktop */
+ at REQ(open_input_desktop)
+ unsigned int flags; /* desktop flags */
+ unsigned int access; /* wanted access rights */
+ unsigned int attributes; /* object attributes */
+ at REPLY
+ obj_handle_t handle; /* handle to the desktop */
+ at END
+
+
/* Get/set information about a user object (window station or desktop) */
@REQ(set_user_object_info)
obj_handle_t handle; /* handle to the object */
@@ -3209,6 +3219,18 @@ enum message_type
@END
+/* Switch to another desktop */
+ at REQ(switch_desktop)
+ obj_handle_t handle; /* handle to the desktop to be switched */
+ thread_id_t tid; /* current thread id */
+ VARARG(children,user_handles);/* window handles */
+ at REPLY
+ VARARG(children,user_handles);/* Window handles to be shown or hide */
+ int old_desktop_count;/* Number of windows on current desktop */
+ int new_desktop_count;/* Number of windows on new desktop */
+ at END
+
+
/* Retrieve layered info for a window */
@REQ(get_window_layered_info)
user_handle_t handle; /* handle to the window */
--
1.6.0.4
More information about the wine-patches
mailing list