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
1 changed files with 1 additions and 1 deletions

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