Windows API & 게임 수학
1-1. 기본 템플릿 분석
1. Main 함수 더보기 int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow) { // TODO: 여기에 코드를 입력합니다. // 1) 윈도우 창 정보 등록 MyRegisterClass(hInstance); // 2) 초기화 if (!InitInstance (hInstance, nCmdShow)) { return FALSE; } MSG msg; //3) 메인 루프 while (GetMessage(&msg, nullptr, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); } return ..
2023. 10. 16. 15:21