2 * Copyright (C) 1998, 1989 Transarc Corporation - All rights reserved
4 * (C) COPYRIGHT IBM CORPORATION 1987, 1988
5 * LICENSED MATERIALS - PROPERTY OF IBM
9 /* Copyright (C) 1994 Cazamar Systems, Inc. */
11 #define IDM_ABOUT 100 /* about box */
12 #define IDM_BASICTEST 101 /* run basic tests */
13 #define IDM_PERFTEST 102 /* run perf tests */
14 #define IDM_TRYLOCKTEST 103 /* run trylock tests */
15 #define IDM_DEBUGON 104 /* turn on debug lock tracing */
16 #define IDM_DEBUGOFF 105 /* turn off debug lock tracing */
18 BOOL
InitApplication(HANDLE
);
19 BOOL
InitInstance(HANDLE
, INT
);
20 LONG APIENTRY
MainWndProc(HWND
, UINT
, UINT
, LONG
);
21 BOOL APIENTRY
About(HWND
, UINT
, UINT
, LONG
);
23 extern void main_ForceDisplay(HANDLE hWnd
);
25 extern void main_ClearDisplay(void);
27 /* max of 10 lines on the screen */
30 /* screen image to write to from tests
31 * This shouldn't be global, but it doesn't matter that much.
33 extern char main_screenText
[HW_NLINES
][80];
36 #define GET_WM_HSCROLL_CODE(wp, lp) LOWORD(wp)
37 #define GET_WM_HSCROLL_POS(wp, lp) HIWORD(wp)
38 #define GET_WM_HSCROLL_HWND(wp, lp) (HWND)(lp)
40 #define GET_WM_HSCROLL_CODE(wp, lp) (wp)
41 #define GET_WM_HSCROLL_POS(wp, lp) LOWORD(lp)
42 #define GET_WM_HSCROLL_HWND(wp, lp) (HWND)HIWORD(lp)