ole32: Make the apartment window a HWND_MESSAGE window.

This commit is contained in:
Alexandre Julliard 2008-06-26 13:22:16 +02:00
parent eae78db8bb
commit a803fa3578

View file

@ -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());