wineconsole: Implement GetConsoleWindow.
diff --git a/server/protocol.def b/server/protocol.def
index e35c32a..6e13cb2 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -1090,15 +1090,16 @@
 
 /* Set info about a console (input only) */
 @REQ(set_console_input_info)
-    obj_handle_t handle;        /* handle to console input, or 0 for process' console */
-    int          mask;          /* setting mask (see below) */
-    obj_handle_t active_sb;     /* active screen buffer */
-    int          history_mode;  /* whether we duplicate lines in history */
-    int          history_size;  /* number of lines in history */
-    int          edition_mode;  /* index to the edition mode flavors */
-    int          input_cp;      /* console input codepage */
-    int          output_cp;     /* console output codepage */
-    VARARG(title,unicode_str);  /* console title */
+    obj_handle_t  handle;        /* handle to console input, or 0 for process' console */
+    int           mask;          /* setting mask (see below) */
+    obj_handle_t  active_sb;     /* active screen buffer */
+    int           history_mode;  /* whether we duplicate lines in history */
+    int           history_size;  /* number of lines in history */
+    int           edition_mode;  /* index to the edition mode flavors */
+    int           input_cp;      /* console input codepage */
+    int           output_cp;     /* console output codepage */
+    user_handle_t win;           /* console window if backend supports it */
+    VARARG(title,unicode_str);   /* console title */
 @END
 #define SET_CONSOLE_INPUT_INFO_ACTIVE_SB        0x01
 #define SET_CONSOLE_INPUT_INFO_TITLE            0x02
@@ -1107,19 +1108,21 @@
 #define SET_CONSOLE_INPUT_INFO_EDITION_MODE     0x10
 #define SET_CONSOLE_INPUT_INFO_INPUT_CODEPAGE   0x20
 #define SET_CONSOLE_INPUT_INFO_OUTPUT_CODEPAGE  0x40
+#define SET_CONSOLE_INPUT_INFO_WIN              0x80
 
 
 /* Get info about a console (input only) */
 @REQ(get_console_input_info)
-    obj_handle_t handle;        /* handle to console input, or 0 for process' console */
+    obj_handle_t  handle;         /* handle to console input, or 0 for process' console */
 @REPLY
-    int          history_mode;  /* whether we duplicate lines in history */
-    int          history_size;  /* number of lines in history */
-    int          history_index; /* number of used lines in history */
-    int          edition_mode;  /* index to the edition mode flavors */
-    int          input_cp;      /* console input codepage */
-    int          output_cp;     /* console output codepage */
-    VARARG(title,unicode_str);  /* console title */
+    int           history_mode;   /* whether we duplicate lines in history */
+    int           history_size;   /* number of lines in history */
+    int           history_index;  /* number of used lines in history */
+    int           edition_mode;   /* index to the edition mode flavors */
+    int           input_cp;       /* console input codepage */
+    int           output_cp;      /* console output codepage */
+    user_handle_t win;            /* console window if backend supports it */
+    VARARG(title,unicode_str);    /* console title */
 @END