Skip to content

Commit

Permalink
applay patch from archlinuxcn/wine-for-wechat
Browse files Browse the repository at this point in the history
  • Loading branch information
javalaw committed Mar 14, 2023
1 parent 51619f8 commit 0debdcb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dlls/user32/win.c
Expand Up @@ -467,6 +467,16 @@ HWND WINAPI DECLSPEC_HOTPATCH CreateWindowExW( DWORD exStyle, LPCWSTR className,
cs.lpszClass = className;
cs.dwExStyle = exStyle;

if (exStyle == 0x080800a0) // WeChat/WxWork shadow hwnd
{
FIXME("hack %x\n", cs.dwExStyle);
return NULL;
}
if (exStyle == 0x000800a0) // Netease Cloudmusic shadow wnd
{
FIXME("hack %x\n", cs.dwExStyle);
return NULL;
}
return wow_handlers.create_window( &cs, className, instance, TRUE );
}

Expand Down

0 comments on commit 0debdcb

Please sign in to comment.