From a803fa3578194a3ebee9a673c7dadf5180b48e67 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 26 Jun 2008 13:22:16 +0200 Subject: [PATCH] ole32: Make the apartment window a HWND_MESSAGE window. --- dlls/ole32/compobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 07e0f50d0e9..3df04216f67 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -724,7 +724,7 @@ HRESULT apartment_createwindowifneeded(struct apartment *apt) { HWND hwnd = CreateWindowW(wszAptWinClass, NULL, 0, 0, 0, 0, 0, - 0, 0, OLE32_hInstance, NULL); + HWND_MESSAGE, 0, OLE32_hInstance, NULL); if (!hwnd) { ERR("CreateWindow failed with error %d\n", GetLastError()); -- 2.11.4.GIT