Jan Zerebecki : d3d8: CreateDevice should use the root of the current window.