私はどこでも検索しましたが、役に立ちませんでした。このコードの何が問題なのか誰か教えてもらえますか? 「エラー:識別子「XXX」は未定義です」というメッセージが表示されます
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MSG msg;
MyRegisterClass(hInstance);
if(!InitInstance (hInstance, nCmdShow))
return false;
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msg.wParam;
}