--- mstools/samples/filer/drvproc.c 2018/08/09 18:20:59 1.1.1.1 +++ mstools/samples/filer/drvproc.c 2018/08/09 18:22:15 1.1.1.2 @@ -1,4 +1,9 @@ /******************************Module*Header*******************************\ +* +* Microsoft Developer Support +* Copyright (c) 1992 Microsoft Corporation +* +* * Module Name: drvproc.c * * Filer : SDK sample @@ -22,6 +27,7 @@ * \**************************************************************************/ +#define STRICT #include #include #include "globals.h" @@ -58,7 +64,7 @@ extern char gszExtensions[NUM_EXTENS * 05-1-92 Created \***************************************************************************/ -LRESULT DrvWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) +LRESULT WINAPI DrvWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { static DWORD dwDirStyle = WS_BORDER | WS_CHILD | WS_VISIBLE | @@ -1672,7 +1678,7 @@ LRESULT MkDirProc(HWND hDlg, UINT messag * \***************************************************************************/ -LRESULT TextWndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) +LRESULT WINAPI TextWndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message)