Asset Studio
APIENTRY wWinMain
HINSTANCE hInstance
인스턴스 등록 → 윈도우 ID 를 의미
→인스턴스 ID 로 윈도우 끼리 통신 가능
MSG msg
while (GetMessage(&msg, nullptr, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
ATOM MyRegisterClass(HINSTACNCE hInstance)