| # | Line 2 | Line 2 | |
|---|---|---|
| 2 | ||
| 3 | LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); | |
| 4 | ||
| 5 | < | guitest(HMODULE hInstance, int nCmdShow) |
| 5 | > | void guitest(HMODULE hInstance, int nCmdShow) |
| 6 | { | |
| 7 | MSG msg; | |
| 8 | HWND hwnd; | |
| # | Line 30 | Line 30 | guitest(HMODULE hInstance, int nCmdShow) | |
| 30 | while( GetMessage(&msg, NULL, 0, 0)) { | |
| 31 | DispatchMessage(&msg); | |
| 32 | } | |
| 33 | – | |
| 34 | – | return (int) msg.wParam; |
| 33 | } | |
| 34 | ||
| 35 | LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |