--- q_a/samples/resdll/main.c 2018/08/09 18:29:29 1.1.1.2 +++ q_a/samples/resdll/main.c 2018/08/09 18:29:52 1.1.1.3 @@ -15,7 +15,7 @@ * * * Microsoft Developer Support -* Copyright (c) 1992 Microsoft Corporation +* Copyright (c) 1992, 1993 Microsoft Corporation * \******************************************************************************/ @@ -78,11 +78,11 @@ int WINAPI WinMain (HANDLE hInstance, HA CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL))) - return (NULL); + return (0); ShowWindow (hwnd, nCmdShow); - while (GetMessage (&msg, NULL, NULL, NULL)) + while (GetMessage (&msg, NULL, 0,0)) { TranslateMessage (&msg); DispatchMessage (&msg); @@ -137,14 +137,14 @@ LRESULT CALLBACK MainWndProc (HWND hwnd, case WM_DESTROY: DeleteObject ((HANDLE) hbm); - PostQuitMessage (NULL); + PostQuitMessage (0); break; default: return (DefWindowProc(hwnd, message, wParam, lParam)); } - return (NULL); + return (0); }