--- q_a/samples/locale/locale.h 2018/08/09 18:29:40 1.1 +++ q_a/samples/locale/locale.h 2018/08/09 18:30:07 1.1.1.2 @@ -1,8 +1,19 @@ + +/******************************************************************************\ +* 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. +\******************************************************************************/ + /* locale.h - header file for the locale sample. */ /* function prototypes. Window procedures first. */ -LRESULT MainDlgProc(HWND, UINT, WPARAM, LPARAM); +LRESULT CALLBACK MainDlgProc(HWND, UINT, WPARAM, LPARAM); #define MAXTCHAR 100 @@ -14,6 +25,15 @@ LRESULT MainDlgProc(HWND, UINT, WPARAM, #define DID_TEXT 102 +/* Define a value for the LOGFONT.lfCharSet + * This should be included in wingdi.h, but it + * was removed because the font mapper is not + * using it anyway in version 1.0. Currently + * scheduled to be included in NT ver 1.1. + */ +#define UNICODE_CHARSET 1 + + /* structure for the lookup tables. */ typedef struct tagLookupEntry{ int Value;