ole32: Make the apartment window a HWND_MESSAGE window.
This commit is contained in:
parent
eae78db8bb
commit
a803fa3578
@ -724,7 +724,7 @@ HRESULT apartment_createwindowifneeded(struct apartment *apt)
|
|||||||
{
|
{
|
||||||
HWND hwnd = CreateWindowW(wszAptWinClass, NULL, 0,
|
HWND hwnd = CreateWindowW(wszAptWinClass, NULL, 0,
|
||||||
0, 0, 0, 0,
|
0, 0, 0, 0,
|
||||||
0, 0, OLE32_hInstance, NULL);
|
HWND_MESSAGE, 0, OLE32_hInstance, NULL);
|
||||||
if (!hwnd)
|
if (!hwnd)
|
||||||
{
|
{
|
||||||
ERR("CreateWindow failed with error %d\n", GetLastError());
|
ERR("CreateWindow failed with error %d\n", GetLastError());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user