1 Star 0 Fork 0

JuliusCaesar/win32_mingw

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.c 657 Bytes
一键复制 编辑 原始数据 按行查看 历史
JuliusCaesar 提交于 2023-12-25 23:43 . multi window with dx9
#include "init.h"
HINSTANCE instance;
HANDLE outputHandle;
int APIENTRY WinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPSTR lpCmdLine,
_In_ int nCmdShow) {
instance = hInstance;
AllocConsole();
outputHandle = GetStdHandle(STD_OUTPUT_HANDLE);
MyRegisterClass(hInstance);
// 执行应用程序初始化:
if (!InitInstance(hInstance, nCmdShow)) {
return FALSE;
}
MSG msg = {0};
while (GetMessage(&msg, NULL, 0, 0)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return (int) msg.wParam;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/juliuscaesar/win32_mingw.git
git@gitee.com:juliuscaesar/win32_mingw.git
juliuscaesar
win32_mingw
win32_mingw
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385