OpenAFS
OpenAFS distributed network file system
|
00001 /* 00002 * Copyright (C) 1998, 1989 Transarc Corporation - All rights reserved 00003 * 00004 * (C) COPYRIGHT IBM CORPORATION 1987, 1988 00005 * LICENSED MATERIALS - PROPERTY OF IBM 00006 * 00007 */ 00008 00009 /* Copyright (C) 1994 Cazamar Systems, Inc. */ 00010 00011 #define IDM_ABOUT 100 /* about box */ 00012 #define IDM_BASICTEST 101 /* run basic tests */ 00013 #define IDM_PERFTEST 102 /* run perf tests */ 00014 #define IDM_TRYLOCKTEST 103 /* run trylock tests */ 00015 #define IDM_DEBUGON 104 /* turn on debug lock tracing */ 00016 #define IDM_DEBUGOFF 105 /* turn off debug lock tracing */ 00017 00018 BOOL InitApplication(HANDLE); 00019 BOOL InitInstance(HANDLE, INT); 00020 LONG APIENTRY MainWndProc(HWND, UINT, UINT, LONG); 00021 BOOL APIENTRY About(HWND, UINT, UINT, LONG); 00022 00023 extern void main_ForceDisplay(HANDLE hWnd); 00024 00025 extern void main_ClearDisplay(void); 00026 00027 /* max of 10 lines on the screen */ 00028 #define HW_NLINES 10 00029 00030 /* screen image to write to from tests 00031 * This shouldn't be global, but it doesn't matter that much. 00032 */ 00033 extern char main_screenText[HW_NLINES][80]; 00034 00035 #ifdef WIN32 00036 #define GET_WM_HSCROLL_CODE(wp, lp) LOWORD(wp) 00037 #define GET_WM_HSCROLL_POS(wp, lp) HIWORD(wp) 00038 #define GET_WM_HSCROLL_HWND(wp, lp) (HWND)(lp) 00039 #else 00040 #define GET_WM_HSCROLL_CODE(wp, lp) (wp) 00041 #define GET_WM_HSCROLL_POS(wp, lp) LOWORD(lp) 00042 #define GET_WM_HSCROLL_HWND(wp, lp) (HWND)HIWORD(lp) 00043 #endif