Create window.
Create D3DDevice