--- q_a/samples/simpldll/linktest.h 2018/08/09 18:29:19 1.1.1.1 +++ q_a/samples/simpldll/linktest.h 2018/08/09 18:29:50 1.1.1.3 @@ -1,14 +1,25 @@ -/************************************************************************\ + +/******************************************************************************\ +* 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. +\******************************************************************************/ + +/******************************************************************************\ * -* LINKTEST.H +* LINKTEST.H * -\************************************************************************/ +\******************************************************************************/ -/************************************************************************\ -* SYMBOLIC CONSTANTS -\************************************************************************/ +/******************************************************************************\ +* SYMBOLIC CONSTANTS +\******************************************************************************/ #define IDM_CREATETHREAD 100 /* menu identifiers */ #define IDM_DLLFUNCTION1 101 @@ -16,20 +27,23 @@ #define IDM_DLLFUNCTION3 103 #define IDM_DLLFUNCTION4 104 #define IDM_DLLDIALOGBOX 105 +#define IDM_ABOUT 106 + +/******************************************************************************\ +* GLOBAL VARS +\******************************************************************************/ -/************************************************************************\ -* GLOBAL VARS -\************************************************************************/ +HWND ghwndMain; -HWND hwndMain; +/******************************************************************************\ +* FUNCTION PROTOTYPES +\******************************************************************************/ -/************************************************************************\ -* FUNCTION PROTOTYPES -\************************************************************************/ +LRESULT CALLBACK MainWndProc (HWND, UINT, WPARAM, LPARAM); +LRESULT CALLBACK AboutDlgProc (HWND, UINT, WPARAM, LPARAM); -LONG APIENTRY MainWndProc (HWND, UINT, UINT, LONG); -void ThreadProc (void); +void ThreadProc (void);