#include "Main.hpp" #include "Application.hpp" namespace jdi { int RunApplication(HINSTANCE instance, HINSTANCE /*prevInstance*/, LPSTR /*commandLine*/, int showCommand) { return Application::Instance().Run(instance, showCommand); } } // namespace jdi /** * @brief Windows GUI 程序入口。 * @param [IN] instance 当前模块实例句柄。 * @param [IN] prevInstance 保留参数,Win32 下恒为空。 * @param [IN] commandLine 命令行参数字符串(ANSI 编码)。 * @param [IN] showCommand 主窗口显示方式。 * @return 进程退出码。 */ int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR commandLine, int showCommand) { return jdi::RunApplication(instance, prevInstance, commandLine, showCommand); }