--- mstools/samples/wxform/wxform.c 2018/08/09 18:20:41 1.1 +++ mstools/samples/wxform/wxform.c 2018/08/09 18:21:41 1.1.1.2 @@ -1,6 +1,10 @@ /**************************************************************************\ * wxform.c -- sample program demonstrating the new "World Transform." * +* Steve Firebaugh +* Microsoft Developer Support +* Copyright (c) 1992 Microsoft Corporation +* * design: There are a few global handles or pointers in this application, * and different routines to operate on them. The obvious case of this * is the three window handles and their associated window procedures. @@ -146,7 +150,7 @@ int APIENTRY WinMain(HINSTANCE hInstance * ptoRect - pointer to track object in middle of screen. * \**************************************************************************/ -LRESULT MainWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) +LRESULT CALLBACK MainWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { static HANDLE hPenGrid; @@ -309,7 +313,7 @@ static HANDLE hPenGrid; * nonstandard messages: * WM_PUTUPFLOATS - fill the entry fields with the contents of an XFORM. \**************************************************************************/ -LRESULT TransformDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) +LRESULT CALLBACK TransformDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { XFORM xform; char buffer[MAXCHARS]; @@ -454,7 +458,7 @@ char buffer[MAXCHARS]; * WM_PUTUPFLOATS - fill the entry fields with the mouse position. * \**************************************************************************/ -LRESULT MouseDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) +LRESULT CALLBACK MouseDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { char buffer[MAXCHARS];