|
|
1.1.1.3 ! root 1: ! 2: /******************************************************************************\ ! 3: * This is a part of the Microsoft Source Code Samples. ! 4: * Copyright (C) 1993 Microsoft Corporation. ! 5: * All rights reserved. ! 6: * This source code is only intended as a supplement to ! 7: * Microsoft Development Tools and/or WinHelp documentation. ! 8: * See these sources for detailed information regarding the ! 9: * Microsoft samples programs. ! 10: \******************************************************************************/ ! 11: 1.1.1.2 root 12: /******************************************************************************\ 1.1 root 13: * 1.1.1.2 root 14: * LOADTEST.H 1.1 root 15: * 1.1.1.2 root 16: \******************************************************************************/ 1.1 root 17: 18: 19: 1.1.1.2 root 20: /******************************************************************************\ 21: * SYMBOLIC CONSTANTS 22: \******************************************************************************/ 1.1 root 23: 24: #define IDM_LOADLIBRARY 100 /* menu identifiers */ 25: #define IDM_FREELIBRARY 101 26: #define IDM_CREATETHREAD 102 27: #define IDM_DLLFUNCTION1 103 28: #define IDM_DLLFUNCTION2 104 29: #define IDM_DLLFUNCTION3 105 30: #define IDM_DLLFUNCTION4 106 31: #define IDM_DLLDIALOGBOX 107 1.1.1.2 root 32: #define IDM_ABOUT 108 1.1 root 33: 34: 35: 1.1.1.2 root 36: /******************************************************************************\ 37: * TYPEDEFS 38: \******************************************************************************/ 1.1 root 39: 40: typedef int (*PFNDLL)(); 41: 42: 43: 1.1.1.2 root 44: /******************************************************************************\ 45: * GLOBAL VARS 46: \******************************************************************************/ 1.1 root 47: 1.1.1.2 root 48: HWND ghwndMain; 1.1 root 49: 1.1.1.2 root 50: PFNDLL gpfnDLLFunction1 = NULL; 51: PFNDLL gpfnDLLFunction2 = NULL; 52: PFNDLL gpfnDLLFunction3 = NULL; 53: PFNDLL gpfnDLLFunction4 = NULL; 54: PFNDLL gpfnDLLDialogBox = NULL; 1.1 root 55: 56: 57: 1.1.1.2 root 58: /******************************************************************************\ 59: * FUNCTION PROTOTYPES 60: \******************************************************************************/ 1.1 root 61: 1.1.1.2 root 62: LRESULT CALLBACK MainWndProc (HWND, UINT, WPARAM, LPARAM); 63: LRESULT CALLBACK AboutDlgProc (HWND, UINT, WPARAM, LPARAM); 64: 65: void ThreadProc (void); 66: void FixMenu (UINT, HMENU);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.