Alexandre Julliard : ole32: Make the apartment window a HWND_MESSAGE window .

Alexandre Julliard julliard at winehq.org
Thu Jun 26 06:48:35 CDT 2008


Module: wine
Branch: master
Commit: a803fa3578194a3ebee9a673c7dadf5180b48e67
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a803fa3578194a3ebee9a673c7dadf5180b48e67

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jun 26 13:22:16 2008 +0200

ole32: Make the apartment window a HWND_MESSAGE window.

---

 dlls/ole32/compobj.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 07e0f50..3df0421 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());




More information about the wine-cvs mailing list