Added support for inter-process GetWindowWord.
Do better range checking on the window extra bytes.
diff --git a/server/protocol.def b/server/protocol.def
index 69004f7..c9d4df9 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -1834,6 +1834,7 @@
void* instance; /* creator instance */
void* user_data; /* user-specific data */
int extra_offset; /* offset to set in extra bytes */
+ size_t extra_size; /* size to set in extra bytes */
unsigned int extra_value; /* value to set in extra bytes */
@REPLY
unsigned int old_style; /* old window style */
@@ -1848,8 +1849,7 @@
#define SET_WIN_ID 0x04
#define SET_WIN_INSTANCE 0x08
#define SET_WIN_USERDATA 0x10
-#define SET_WIN_EXTRAWORD 0x20
-#define SET_WIN_EXTRALONG 0x40
+#define SET_WIN_EXTRA 0x20
/* Get a list of the window parents, up to the root of the tree */