[PATCH 3/3] Change padding to accommodate larger requests on win64
Pavel Roskin
proski at gnu.org
Tue Oct 3 15:57:29 CDT 2006
From: Pavel Roskin <proski at gnu.org>
---
include/wine/server_protocol.h | 4 +++-
server/protocol.def | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/wine/server_protocol.h b/include/wine/server_protocol.h
index b8c8a7c..9af3e4b 100644
--- a/include/wine/server_protocol.h
+++ b/include/wine/server_protocol.h
@@ -37,9 +37,11 @@ struct reply_header
+
struct request_max_size
{
- int pad[16];
+ int pad1[8];
+ long pad2[8];
};
#define FIRST_USER_HANDLE 0x0020
diff --git a/server/protocol.def b/server/protocol.def
index 0d014dd..5d1e3e2 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -53,9 +53,11 @@ struct reply_header
/* placeholder structure for the maximum allowed request size */
/* this is used to construct the generic_request union */
+/* request_max_size is 64 bytes for win32, 96 bytes for win64 */
struct request_max_size
{
- int pad[16]; /* the max request size is 16 ints */
+ int pad1[8];
+ long pad2[8];
};
#define FIRST_USER_HANDLE 0x0020 /* first possible value for low word of user handle */
More information about the wine-patches
mailing list