--- mstools/samples/printer/paint.c 2018/08/09 18:21:29 1.1 +++ mstools/samples/printer/paint.c 2018/08/09 18:23:29 1.1.1.2 @@ -1,3 +1,14 @@ + +/******************************************************************************\ +* 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. +\******************************************************************************/ + /******************************************************************************\ * * MODULE: PAINT.C @@ -26,10 +37,6 @@ * sample. For more complete documentation have a look a * that. * -* -* Microsoft Developer Support -* Copyright (c) 1992 Microsoft Corporation -* \******************************************************************************/ #include @@ -552,7 +559,7 @@ PARFONTS BuildFontList (HDC hdcIn) // iFace = 0; - EnumFonts (hdcGlobal, NULL, (FONTENUMPROC)MyEnumFaces, NULL); + EnumFonts (hdcGlobal, NULL, (FONTENUMPROC)MyEnumFaces, 0); return parFontsGlobal; } @@ -597,7 +604,7 @@ int CALLBACK MyEnumFaces (LPLOGFONT lpLo parFontsGlobal[iFace].nFonts = nFonts; jFont = 0; - EnumFonts (hdcGlobal, lpLogFont->lfFaceName, (FONTENUMPROC)MyEnumCopy, NULL); + EnumFonts (hdcGlobal, lpLogFont->lfFaceName, (FONTENUMPROC)MyEnumCopy, 0); iFace++;