|
|
1.1.1.2 ! root 1: /******************************************************************************\ 1.1 root 2: * 1.1.1.2 ! root 3: * LOADTEST.H 1.1 root 4: * 1.1.1.2 ! root 5: \******************************************************************************/ 1.1 root 6: 7: 8: 1.1.1.2 ! root 9: /******************************************************************************\ ! 10: * SYMBOLIC CONSTANTS ! 11: \******************************************************************************/ 1.1 root 12: 13: #define IDM_LOADLIBRARY 100 /* menu identifiers */ 14: #define IDM_FREELIBRARY 101 15: #define IDM_CREATETHREAD 102 16: #define IDM_DLLFUNCTION1 103 17: #define IDM_DLLFUNCTION2 104 18: #define IDM_DLLFUNCTION3 105 19: #define IDM_DLLFUNCTION4 106 20: #define IDM_DLLDIALOGBOX 107 1.1.1.2 ! root 21: #define IDM_ABOUT 108 1.1 root 22: 23: 24: 1.1.1.2 ! root 25: /******************************************************************************\ ! 26: * TYPEDEFS ! 27: \******************************************************************************/ 1.1 root 28: 29: typedef int (*PFNDLL)(); 30: 31: 32: 1.1.1.2 ! root 33: /******************************************************************************\ ! 34: * GLOBAL VARS ! 35: \******************************************************************************/ 1.1 root 36: 1.1.1.2 ! root 37: HWND ghwndMain; 1.1 root 38: 1.1.1.2 ! root 39: PFNDLL gpfnDLLFunction1 = NULL; ! 40: PFNDLL gpfnDLLFunction2 = NULL; ! 41: PFNDLL gpfnDLLFunction3 = NULL; ! 42: PFNDLL gpfnDLLFunction4 = NULL; ! 43: PFNDLL gpfnDLLDialogBox = NULL; 1.1 root 44: 45: 46: 1.1.1.2 ! root 47: /******************************************************************************\ ! 48: * FUNCTION PROTOTYPES ! 49: \******************************************************************************/ 1.1 root 50: 1.1.1.2 ! root 51: LRESULT CALLBACK MainWndProc (HWND, UINT, WPARAM, LPARAM); ! 52: LRESULT CALLBACK AboutDlgProc (HWND, UINT, WPARAM, LPARAM); ! 53: ! 54: void ThreadProc (void); ! 55: void FixMenu (UINT, HMENU);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.