--- mstools/samples/multipad/multipad.h 2018/08/09 18:20:40 1.1.1.2 +++ 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,6 +19,8 @@ #include "drivinit.h" #endif +//typedef int HFILE ; + #ifdef WIN32 #define GET_EM_SETSEL_MPS(iStart, iEnd) (UINT)(iStart), (LONG)(iEnd) #define GET_WM_COMMAND_CMD(wp, lp) HIWORD(wp) @@ -24,7 +37,6 @@ #define GET_WM_MDIACTIVATE_FACTIVATE(hwnd, wp, lp) (BOOL)(wp) #endif - #define WINDOWMENU 3 /* position of window menu */ #define SHORTMENU 2 /* position of short version window menu */