--- q_a/samples/simpldll/the_dll.h 2018/08/09 18:29:19 1.1 +++ q_a/samples/simpldll/the_dll.h 2018/08/09 18:29:51 1.1.1.3 @@ -1,30 +1,41 @@ -/************************************************************************\ + +/******************************************************************************\ +* 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. +\******************************************************************************/ + +/******************************************************************************\ * -* THE_DLL.H +* THE_DLL.H * -\************************************************************************/ +\******************************************************************************/ -/************************************************************************\ -* SYMBOLIC CONSTANTS -\************************************************************************/ +/******************************************************************************\ +* SYMBOLIC CONSTANTS +\******************************************************************************/ #define BUFSIZE 80 -/************************************************************************\ -* GLOBAL VARIABLES -\************************************************************************/ +/******************************************************************************\ +* GLOBAL VARIABLES +\******************************************************************************/ -HANDLE hMod; +HANDLE ghMod; -/************************************************************************\ -* FUNCTION PROTOTYPES -\************************************************************************/ +/******************************************************************************\ +* FUNCTION PROTOTYPES +\******************************************************************************/ INT DLLFunction1 (void); INT DLLFunction2 (int); @@ -32,4 +43,5 @@ INT DLLFunction3 (HANDLE); INT DLLFunction4 (HWND); INT DLLDialogBox (HWND); -BOOL DLLDlgProc (HWND, UINT, UINT, LONG); + +LRESULT CALLBACK DLLDlgProc (HWND, UINT, WPARAM, LPARAM);