|
|
1.1 ! 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: ! 12: // menu commands ! 13: ! 14: #define IDM_CALLWNDPROC 0 ! 15: #define IDM_CBT 1 ! 16: #define IDM_DEBUG 2 ! 17: #define IDM_GETMESSAGE 3 ! 18: #define IDM_KEYBOARD 4 ! 19: #define IDM_MOUSE 5 ! 20: #define IDM_MSGFILTER 6 ! 21: #define IDM_EXIT 100 ! 22: ! 23: // function prototypes ! 24: long APIENTRY MainWndProc(HWND, UINT, UINT, LONG); ! 25: LRESULT CALLBACK CallWndProc(int, WPARAM, LPARAM); ! 26: LRESULT CALLBACK GetMsgProc(int, WPARAM, LPARAM); ! 27: LRESULT CALLBACK DebugProc(int, WPARAM, LPARAM); ! 28: LRESULT CALLBACK CBTProc(int, WPARAM, LPARAM); ! 29: LRESULT CALLBACK MouseProc(int, WPARAM, LPARAM); ! 30: LRESULT CALLBACK KeyboardProc(int, WPARAM, LPARAM); ! 31: LRESULT CALLBACK MessageProc(int, WPARAM, LPARAM); ! 32: ! 33: ! 34: //functions ! 35: BOOL InitApplication(HANDLE); ! 36: BOOL InitInstance(HANDLE, int); ! 37:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.