Initialize DirectX and show a black window