Jan Zerebecki : wined3d: CreateDevice should use the root window.