--- 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:28 1.1.1.2 @@ -1,14 +1,14 @@ -/************************************************************************\ +/******************************************************************************\ * -* LINKTEST.H +* LINKTEST.H * -\************************************************************************/ +\******************************************************************************/ -/************************************************************************\ -* SYMBOLIC CONSTANTS -\************************************************************************/ +/******************************************************************************\ +* SYMBOLIC CONSTANTS +\******************************************************************************/ #define IDM_CREATETHREAD 100 /* menu identifiers */ #define IDM_DLLFUNCTION1 101 @@ -16,20 +16,23 @@ #define IDM_DLLFUNCTION3 103 #define IDM_DLLFUNCTION4 104 #define IDM_DLLDIALOGBOX 105 +#define IDM_ABOUT 106 -/************************************************************************\ -* GLOBAL VARS -\************************************************************************/ +/******************************************************************************\ +* GLOBAL VARS +\******************************************************************************/ -HWND hwndMain; +HWND ghwndMain; -/************************************************************************\ -* FUNCTION PROTOTYPES -\************************************************************************/ +/******************************************************************************\ +* FUNCTION PROTOTYPES +\******************************************************************************/ -LONG APIENTRY MainWndProc (HWND, UINT, UINT, LONG); -void ThreadProc (void); +LRESULT CALLBACK MainWndProc (HWND, UINT, WPARAM, LPARAM); +LRESULT CALLBACK AboutDlgProc (HWND, UINT, WPARAM, LPARAM); + +void ThreadProc (void);