--- mstools/samples/console/handler.c 2018/08/09 18:20:36 1.1 +++ mstools/samples/console/handler.c 2018/08/09 18:21:18 1.1.1.2 @@ -2,6 +2,9 @@ #include #include "console.h" +/* Microsoft Developer Support + Copyright (c) 1992 Microsoft Corporation */ + HANDLE hConsole; /* current console output handle */ /******************************************************************* @@ -13,7 +16,7 @@ HANDLE hConsole; /* current console outp * INPUT: the type of control event * *******************************************************************/ -BOOL handler_routine(DWORD dwCtrlType) +BOOL WINAPI handler_routine(DWORD dwCtrlType) { CHAR szTemp[64];