Jan Zerebecki jan.wine@zerebecki.de writes:
Changelog: d3d8: CreateDevice should try the parent if the current window fails because it doesn't have the property __wine_x11_whole_window . Fixes bug #4341 .
What you really want to use here is GetAncestor(GA_ROOT).