source: trunk/src/user32/open32wbase.h@ 1036

Last change on this file since 1036 was 949, checked in by sandervl, 26 years ago

Moved new user32 here

File size: 3.0 KB
Line 
1/* $Id: open32wbase.h,v 1.1 1999-09-15 23:18:52 sandervl Exp $ */
2/*
3 * Open32 Window fake Base Class for OS/2
4 *
5 *
6 * Copyright 1999 Daniela Engert (dani@ngrt.de)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12#ifndef __OPEN32WINBASE_H__
13#define __OPEN32WINBASE_H__
14
15extern "C" {
16void _System WinSetDAXData (HWND, PVOID);
17ULONG _System PIEPS (ULONG, ULONG);
18}
19
20#define PIEPS(x,y)
21
22#pragma pack(1)
23
24class fakeOpen32WinBaseClass
25{
26 public:
27 virtual BOOL ni08(void) { PIEPS (1000,10); return FALSE; }
28 virtual BOOL ni10(void) { PIEPS (1100,10); return FALSE; }
29 virtual BOOL ni18(void) { PIEPS (1200,10); return FALSE; }
30 virtual BOOL ni20(void) { PIEPS (1300,10); return FALSE; }
31 virtual BOOL ni28(void) { PIEPS (1400,10); return FALSE; }
32 virtual BOOL ni30(void) { PIEPS (1500,10); return FALSE; }
33 virtual BOOL ni38(void) { PIEPS (1600,10); return FALSE; }
34 virtual BOOL ni40(void) { PIEPS (1700,10); return FALSE; }
35 virtual BOOL ni48(void) { PIEPS (1800,10); return FALSE; }
36 virtual BOOL ni50(void) { PIEPS (1900,10); return FALSE; }
37 virtual BOOL ni58(void) { PIEPS (2000,10); return FALSE; }
38 virtual BOOL ni60(void) { PIEPS (2100,10); return FALSE; }
39 virtual BOOL ni68(void) { PIEPS (2200,10); return FALSE; }
40 virtual BOOL ni70(void) { PIEPS (2300,10); return FALSE; }
41 virtual BOOL ni78(void) { PIEPS (2400,10); return FALSE; }
42 virtual BOOL ni80(void) { PIEPS (2500,10); return FALSE; }
43 virtual BOOL ni88(void) { PIEPS (2600,10); return FALSE; }
44 virtual BOOL clientArea(PRECTL pRectl) { pRectl=pRectl; return FALSE; }
45 virtual BOOL redraw() { return bRedraw; }
46 virtual VOID setRedraw( BOOL bOn = TRUE ) { bRedraw = bOn; }
47 virtual BOOL niA8(void) { PIEPS (2700,10); return FALSE; }
48 virtual BOOL niB0(void) { PIEPS (2800,10); return FALSE; }
49 virtual BOOL niB8(void) { PIEPS (2900,10); return FALSE; }
50 virtual BOOL niC0(void) { PIEPS (3000,10); return FALSE; }
51 virtual BOOL niC8(void) { PIEPS (3100,10); return FALSE; }
52 virtual BOOL niD0(void) { PIEPS (3200,10); return FALSE; }
53
54 char type;
55 ULONG filler1[1];
56 HWND hwndThis;
57 ULONG filler2[15];
58 Win32WndClass *pWindowClass; /* ptr to window class */
59 ULONG filler3[2];
60 PVOID ownDC;
61 ULONG filler4[3];
62 ULONG bZeroId:1,
63 bInCreate:1,
64 bDragDrop:1,
65 bEraseBkgnd:1,
66 bPSEraseFlag:1,
67 bSupressErase:1,
68 bPaintNow:1,
69 bRedraw:1,
70 bDestroyed:1,
71 bSendSetFocus:1,
72 bGotSetFocus:1,
73 ulReserved:21;
74};
75
76#pragma pack()
77
78#endif
79
Note: See TracBrowser for help on using the repository browser.