Reusable entry point for a C++ DirectX Application.