fixed difference in signedness warnings
[reactos.git] / reactos / lib / ddraw / rosdraw.h
1 #ifndef __DDRAW_PRIVATE
2 #define __DDRAW_PRIVATE
3
4 /********* Includes *********/
5
6 #include <windows.h>
7 #include <stdio.h>
8 #include <ddraw.h>
9
10 #include <ddk/ddrawint.h>
11 #include <ddk/d3dnthal.h>
12 #include <ddk/d3dhal.h>
13 #include <ddrawgdi.h>
14 #include <d3d8thk.h>
15
16
17 /******** Main Object ********/
18
19 typedef struct
20 {
21 IDirectDraw7Vtbl* lpVtbl;
22 DDRAWI_DIRECTDRAW_GBL DirectDrawGlobal;
23 DDHALINFO HalInfo;
24
25 HWND window;
26 DWORD cooperative_level;
27 HDC hdc;
28 int Height, Width, Bpp;
29
30 GUID* lpGUID;
31
32 } IDirectDrawImpl;
33
34
35 /******** Surface Object ********/
36
37 typedef struct
38 {
39 IDirectDrawSurface7Vtbl* lpVtbl;
40 LONG ref;
41
42 IDirectDrawImpl* owner;
43
44 } IDirectDrawSurfaceImpl;
45
46
47 /******** Clipper Object ********/
48
49 typedef struct
50 {
51 IDirectDrawClipperVtbl* lpVtbl;
52 LONG ref;
53
54 IDirectDrawImpl* owner;
55
56 } IDirectDrawClipperImpl;
57
58
59 /******** Palette Object ********/
60
61 typedef struct
62 {
63 IDirectDrawPaletteVtbl* lpVtbl;
64 LONG ref;
65
66 IDirectDrawImpl* owner;
67
68 } IDirect3DDeviceImpl;
69
70
71 /*********** VTables ************/
72
73 extern IDirectDraw7Vtbl DirectDraw_VTable;
74 extern IDirectDrawSurface7Vtbl DDrawSurface_VTable;
75
76
77 /********* Prototypes **********/
78
79 HRESULT Hal_DirectDraw_Initialize (LPDIRECTDRAW7 iface);
80 HRESULT Hal_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface);
81 VOID Hal_DirectDraw_Release (LPDIRECTDRAW7 iface);
82
83 HRESULT Hel_DirectDraw_Initialize (LPDIRECTDRAW7 iface);
84 HRESULT Hel_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface);
85 VOID Hel_DirectDraw_Release (LPDIRECTDRAW7 iface);
86
87 #endif /* __DDRAW_PRIVATE */