[Bug 38196] ffmpeg fails to create direct3d9 device on shell window

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 29 14:37:36 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=38196

Ilya Konovalov <aragaer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aragaer at gmail.com

--- Comment #1 from Ilya Konovalov <aragaer at gmail.com> ---
Created attachment 56277
  --> https://bugs.winehq.org/attachment.cgi?id=56277
possible patch

There are other applications expecting to get "explorer.exe" window when using
GetShellWindow(). An example is described here -
http://blogs.microsoft.co.il/pavely/2011/06/18/getshellwindow-vs-getdesktopwindow/

A simple solution would be to check if result of GetShellWindow is about to be
null and in that case call get_desktop_window and return that instead. See
attachment.

I don't have a test for that, but I've encountered an application which hit
exactly this problem. Using this patch I've managed to fix that one.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list