From: Rémi Bernon rbernon@codeweavers.com
--- dlls/win32u/imm.c | 2 +- dlls/win32u/menu.c | 2 +- dlls/win32u/vulkan.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/win32u/imm.c b/dlls/win32u/imm.c index e5a416d9add..cd94f56d678 100644 --- a/dlls/win32u/imm.c +++ b/dlls/win32u/imm.c @@ -297,7 +297,7 @@ BOOL register_imm_window( HWND hwnd ) UNICODE_STRING class_name = RTL_CONSTANT_STRING( imeW ); UNICODE_STRING name = RTL_CONSTANT_STRING( default_imeW );
- thread_data->default_hwnd = NtUserCreateWindowEx( 0, &class_name, &class_name, &name, + thread_data->default_hwnd = NtUserCreateWindowEx( 0, &class_name, NULL, &name, WS_POPUP | WS_DISABLED | WS_CLIPSIBLINGS, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, FALSE ); } diff --git a/dlls/win32u/menu.c b/dlls/win32u/menu.c index 1bcc7fadd76..bce8e0af79b 100644 --- a/dlls/win32u/menu.c +++ b/dlls/win32u/menu.c @@ -3343,7 +3343,7 @@ static BOOL init_popup( HWND owner, HMENU hmenu, UINT flags ) if (flags & TPM_LAYOUTRTL) ex_style = WS_EX_LAYOUTRTL;
/* NOTE: In Windows, top menu popup is not owned. */ - menu->hWnd = NtUserCreateWindowEx( ex_style, &class_name, &class_name, NULL, + menu->hWnd = NtUserCreateWindowEx( ex_style, &class_name, NULL, NULL, WS_POPUP, 0, 0, 0, 0, owner, 0, (HINSTANCE)get_window_long_ptr( owner, GWLP_HINSTANCE, FALSE ), (void *)hmenu, 0, NULL, 0, FALSE ); diff --git a/dlls/win32u/vulkan.c b/dlls/win32u/vulkan.c index 722bdd845cf..301dbf5579d 100644 --- a/dlls/win32u/vulkan.c +++ b/dlls/win32u/vulkan.c @@ -91,7 +91,7 @@ static VkResult win32u_vkCreateWin32SurfaceKHR( VkInstance client_instance, cons { static const WCHAR staticW[] = {'s','t','a','t','i','c',0}; UNICODE_STRING static_us = RTL_CONSTANT_STRING( staticW ); - dummy = NtUserCreateWindowEx( 0, &static_us, &static_us, &static_us, WS_POPUP, 0, 0, 0, 0, + dummy = NtUserCreateWindowEx( 0, &static_us, NULL, &static_us, WS_POPUP, 0, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL, 0, FALSE ); WARN( "Created dummy window %p for null surface window\n", dummy ); surface->hwnd = dummy;