From f45183ad9d9ac42023f1222a58c1ebb45f0b6ba6 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Fri, 8 Aug 2014 23:40:58 +0200
Subject: user32: Increase MAX_WINPROCS to 16384. (try 2)

---
 dlls/user.exe16/message.c | 2 +-
 dlls/user32/winproc.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user.exe16/message.c b/dlls/user.exe16/message.c
index 935b025..965da59 100644
--- a/dlls/user.exe16/message.c
+++ b/dlls/user.exe16/message.c
@@ -108,7 +108,7 @@ typedef struct
 #include "poppack.h"
 
 #define WINPROC_HANDLE (~0u >> 16)
-#define MAX_WINPROCS32 4096
+#define MAX_WINPROCS32 16384
 #define MAX_WINPROCS16 1024
 
 static WNDPROC16 winproc16_array[MAX_WINPROCS16];
diff --git a/dlls/user32/winproc.c b/dlls/user32/winproc.c
index 3642109..828729b 100644
--- a/dlls/user32/winproc.c
+++ b/dlls/user32/winproc.c
@@ -45,7 +45,7 @@ typedef struct tagWINDOWPROC
     WNDPROC        procW;    /* Unicode window proc */
 } WINDOWPROC;
 
-#define MAX_WINPROCS  4096
+#define MAX_WINPROCS  16384
 #define MAX_WINPROC_RECURSION  64
 #define WINPROC_PROC16  ((WINDOWPROC *)1)  /* placeholder for 16-bit window procs */
 
-- 
2.1.3

