--- mstools/samples/memory/nmmemcli.c 2018/08/09 18:20:01 1.1 +++ mstools/samples/memory/nmmemcli.c 2018/08/09 18:23:17 1.1.1.3 @@ -1,3 +1,13 @@ +/******************************************************************************\ +* 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 #include #include @@ -14,18 +24,15 @@ void ErrorOut(char errstring[30]); * void ErrorOut(char errstring[30]) * * Purpose: Print out an meainful error code by means of - * GetLastError and printf + * GetLastError and printf * * Inputs: errstring - the action that failed, passed by the - * calling proc. + * calling proc. * * Returns: none * * Calls: GetLastError * - * History: - * 09-13-91 Peteg Created. - * \************************************************************************/ @@ -51,7 +58,7 @@ MessageBox(ghwndMain, (LPSTR)str, "Error * Calls: OpenFileMapping, ErrorOut * * History: - * 09-13-91 Peteg Created. + * 09-13-91 Pete Gray Created. * \*************************************************************************/ @@ -62,7 +69,7 @@ HANDLE hAMap; hAMap= OpenFileMapping(FILE_MAP_READ | FILE_MAP_WRITE, TRUE, - MapName); + MapName); if (hAMap == NULL) {