Author: fireball
Date: Tue Dec 22 21:33:39 2009
New Revision: 44719
URL:
http://svn.reactos.org/svn/reactos?rev=44719&view=rev
Log:
- Update to the newest server protocol version.
Modified:
branches/arwinss/reactos/include/reactos/wine/server_protocol.h
branches/arwinss/reactos/subsystems/win32/win32k/include/request.h
branches/arwinss/reactos/subsystems/win32/win32k/wine/stubs.c
Modified: branches/arwinss/reactos/include/reactos/wine/server_protocol.h
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/include/reactos…
==============================================================================
--- branches/arwinss/reactos/include/reactos/wine/server_protocol.h [iso-8859-1]
(original)
+++ branches/arwinss/reactos/include/reactos/wine/server_protocol.h [iso-8859-1] Tue Dec
22 21:33:39 2009
@@ -1204,6 +1204,21 @@
+struct get_handle_unix_name_request
+{
+ struct request_header __header;
+ obj_handle_t handle;
+};
+struct get_handle_unix_name_reply
+{
+ struct reply_header __header;
+ data_size_t name_len;
+ /* VARARG(name,string); */
+ char __pad_12[4];
+};
+
+
+
struct get_handle_fd_request
{
struct request_header __header;
@@ -4105,16 +4120,17 @@
char __pad_20[4];
};
-struct get_token_user_request
+struct get_token_sid_request
{
struct request_header __header;
obj_handle_t handle;
-};
-struct get_token_user_reply
-{
- struct reply_header __header;
- data_size_t user_len;
- /* VARARG(user,SID); */
+ unsigned int which_sid;
+};
+struct get_token_sid_reply
+{
+ struct reply_header __header;
+ data_size_t sid_len;
+ /* VARARG(sid,SID); */
char __pad_12[4];
};
@@ -4675,6 +4691,7 @@
REQ_create_file,
REQ_open_file_object,
REQ_alloc_file_handle,
+ REQ_get_handle_unix_name,
REQ_get_handle_fd,
REQ_flush_file,
REQ_lock_file,
@@ -4843,7 +4860,7 @@
REQ_check_token_privileges,
REQ_duplicate_token,
REQ_access_check,
- REQ_get_token_user,
+ REQ_get_token_sid,
REQ_get_token_groups,
REQ_get_token_default_dacl,
REQ_set_token_default_dacl,
@@ -4922,6 +4939,7 @@
struct create_file_request create_file_request;
struct open_file_object_request open_file_object_request;
struct alloc_file_handle_request alloc_file_handle_request;
+ struct get_handle_unix_name_request get_handle_unix_name_request;
struct get_handle_fd_request get_handle_fd_request;
struct flush_file_request flush_file_request;
struct lock_file_request lock_file_request;
@@ -5090,7 +5108,7 @@
struct check_token_privileges_request check_token_privileges_request;
struct duplicate_token_request duplicate_token_request;
struct access_check_request access_check_request;
- struct get_token_user_request get_token_user_request;
+ struct get_token_sid_request get_token_sid_request;
struct get_token_groups_request get_token_groups_request;
struct get_token_default_dacl_request get_token_default_dacl_request;
struct set_token_default_dacl_request set_token_default_dacl_request;
@@ -5167,6 +5185,7 @@
struct create_file_reply create_file_reply;
struct open_file_object_reply open_file_object_reply;
struct alloc_file_handle_reply alloc_file_handle_reply;
+ struct get_handle_unix_name_reply get_handle_unix_name_reply;
struct get_handle_fd_reply get_handle_fd_reply;
struct flush_file_reply flush_file_reply;
struct lock_file_reply lock_file_reply;
@@ -5335,7 +5354,7 @@
struct check_token_privileges_reply check_token_privileges_reply;
struct duplicate_token_reply duplicate_token_reply;
struct access_check_reply access_check_reply;
- struct get_token_user_reply get_token_user_reply;
+ struct get_token_sid_reply get_token_sid_reply;
struct get_token_groups_reply get_token_groups_reply;
struct get_token_default_dacl_reply get_token_default_dacl_reply;
struct set_token_default_dacl_reply set_token_default_dacl_reply;
@@ -5372,6 +5391,6 @@
struct free_user_handle_reply free_user_handle_reply;
};
-#define SERVER_PROTOCOL_VERSION 392
+#define SERVER_PROTOCOL_VERSION 394
#endif /* __WINE_WINE_SERVER_PROTOCOL_H */
Modified: branches/arwinss/reactos/subsystems/win32/win32k/include/request.h
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/include/request.h [iso-8859-1]
(original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/include/request.h [iso-8859-1] Tue
Dec 22 21:33:39 2009
@@ -109,6 +109,7 @@
DECL_HANDLER(create_file);
DECL_HANDLER(open_file_object);
DECL_HANDLER(alloc_file_handle);
+DECL_HANDLER(get_handle_unix_name);
DECL_HANDLER(get_handle_fd);
DECL_HANDLER(flush_file);
DECL_HANDLER(lock_file);
@@ -277,7 +278,7 @@
DECL_HANDLER(check_token_privileges);
DECL_HANDLER(duplicate_token);
DECL_HANDLER(access_check);
-DECL_HANDLER(get_token_user);
+DECL_HANDLER(get_token_sid);
DECL_HANDLER(get_token_groups);
DECL_HANDLER(get_token_default_dacl);
DECL_HANDLER(set_token_default_dacl);
@@ -355,6 +356,7 @@
(req_handler)req_create_file,
(req_handler)req_open_file_object,
(req_handler)req_alloc_file_handle,
+ (req_handler)req_get_handle_unix_name,
(req_handler)req_get_handle_fd,
(req_handler)req_flush_file,
(req_handler)req_lock_file,
@@ -523,7 +525,7 @@
(req_handler)req_check_token_privileges,
(req_handler)req_duplicate_token,
(req_handler)req_access_check,
- (req_handler)req_get_token_user,
+ (req_handler)req_get_token_sid,
(req_handler)req_get_token_groups,
(req_handler)req_get_token_default_dacl,
(req_handler)req_set_token_default_dacl,
@@ -808,6 +810,9 @@
C_ASSERT( FIELD_OFFSET(struct alloc_file_handle_request, fd) == 20 );
C_ASSERT( FIELD_OFFSET(struct alloc_file_handle_reply, handle) == 8 );
C_ASSERT( sizeof(struct alloc_file_handle_reply) == 16 );
+C_ASSERT( FIELD_OFFSET(struct get_handle_unix_name_request, handle) == 12 );
+C_ASSERT( FIELD_OFFSET(struct get_handle_unix_name_reply, name_len) == 8 );
+C_ASSERT( sizeof(struct get_handle_unix_name_reply) == 16 );
C_ASSERT( FIELD_OFFSET(struct get_handle_fd_request, handle) == 12 );
C_ASSERT( FIELD_OFFSET(struct get_handle_fd_reply, type) == 8 );
C_ASSERT( FIELD_OFFSET(struct get_handle_fd_reply, removable) == 12 );
@@ -1712,9 +1717,10 @@
C_ASSERT( FIELD_OFFSET(struct access_check_reply, access_status) == 12 );
C_ASSERT( FIELD_OFFSET(struct access_check_reply, privileges_len) == 16 );
C_ASSERT( sizeof(struct access_check_reply) == 24 );
-C_ASSERT( FIELD_OFFSET(struct get_token_user_request, handle) == 12 );
-C_ASSERT( FIELD_OFFSET(struct get_token_user_reply, user_len) == 8 );
-C_ASSERT( sizeof(struct get_token_user_reply) == 16 );
+C_ASSERT( FIELD_OFFSET(struct get_token_sid_request, handle) == 12 );
+C_ASSERT( FIELD_OFFSET(struct get_token_sid_request, which_sid) == 16 );
+C_ASSERT( FIELD_OFFSET(struct get_token_sid_reply, sid_len) == 8 );
+C_ASSERT( sizeof(struct get_token_sid_reply) == 16 );
C_ASSERT( FIELD_OFFSET(struct get_token_groups_request, handle) == 12 );
C_ASSERT( FIELD_OFFSET(struct get_token_groups_reply, user_len) == 8 );
C_ASSERT( sizeof(struct get_token_groups_reply) == 16 );
Modified: branches/arwinss/reactos/subsystems/win32/win32k/wine/stubs.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/wine/stubs.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/wine/stubs.c [iso-8859-1] Tue Dec 22
21:33:39 2009
@@ -198,6 +198,11 @@
UNIMPLEMENTED;
}
+DECL_HANDLER(get_handle_unix_name)
+{
+ UNIMPLEMENTED;
+}
+
DECL_HANDLER(flush_file)
{
UNIMPLEMENTED;
@@ -633,7 +638,7 @@
UNIMPLEMENTED;
}
-DECL_HANDLER(get_token_user)
+DECL_HANDLER(get_token_sid)
{
UNIMPLEMENTED;
}