--- mstools/samples/multipad/multipad.h 2018/08/09 18:20:01 1.1 +++ mstools/samples/multipad/multipad.h 2018/08/09 18:23:39 1.1.1.3 @@ -1,6 +1,17 @@ + +/******************************************************************************\ +* This is a part of the Microsoft Source Code Samples. +* Copyright (C) 1993 Microsoft Corporation. +* All rights reserved. +* This source code is only intended as a supplement to +* Microsoft Development Tools and/or WinHelp documentation. +* See these sources for detailed information regarding the +* Microsoft samples programs. +\******************************************************************************/ + #include "windows.h" #ifndef WIN16 - #define WIN32 1 /* placed because RC can't pass in C_DEFINES*/ + #define WIN32 1 /* placed because RC can't pass in C_DEFINES*/ #include #endif @@ -8,7 +19,7 @@ #include "drivinit.h" #endif -typedef int HFILE ; +//typedef int HFILE ; #ifdef WIN32 #define GET_EM_SETSEL_MPS(iStart, iEnd) (UINT)(iStart), (LONG)(iEnd) @@ -26,9 +37,6 @@ typedef int HFILE ; #define GET_WM_MDIACTIVATE_FACTIVATE(hwnd, wp, lp) (BOOL)(wp) #endif - -#define CDECL cdecl - #define WINDOWMENU 3 /* position of window menu */ #define SHORTMENU 2 /* position of short version window menu */