xref: /reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c (revision 84ccccab)
1 /*
2  * COPYRIGHT:            See COPYING in the top level directory
3  * PROJECT:              ReactOS DirectX
4  * FILE:                 dll/directx/ddraw/Ddraw/ddraw_stubs.c
5  * PURPOSE:              IDirectDraw7 Implementation
6  * PROGRAMMER:           Magnus Olsen, Maarten Bosma
7  *
8  */
9 
10 #include "rosdraw.h"
11 
12 /*
13  * Status: Implementation removed due to rewrite
14  */
15 HRESULT
16 WINAPI
17 Main_DirectDraw_CreateClipper(LPDDRAWI_DIRECTDRAW_INT This,
18                               DWORD dwFlags,
19                               LPDIRECTDRAWCLIPPER *ppClipper,
20                               IUnknown *pUnkOuter)
21 {
22 	DX_WINDBG_trace();
23 	DX_STUB;
24 }
25 
26 HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 src,
27                  LPDIRECTDRAWSURFACE7* dst)
28 {
29 	DX_WINDBG_trace();
30 	DX_STUB;
31 }
32 
33 HRESULT WINAPI
34 Main_DirectDraw_EnumSurfaces(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
35                  LPDDSURFACEDESC lpDDSD, LPVOID context,
36                  LPDDENUMSURFACESCALLBACK callback)
37 {
38 	DX_WINDBG_trace();
39 	DX_STUB;
40 }
41 
42 HRESULT WINAPI
43 Main_DirectDraw_EnumSurfaces4(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
44                  LPDDSURFACEDESC2 lpDDSD2, LPVOID context,
45                  LPDDENUMSURFACESCALLBACK2 callback)
46 {
47 	DX_WINDBG_trace();
48 	DX_STUB;
49 }
50 
51 HRESULT WINAPI
52 Main_DirectDraw_EnumSurfaces7(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
53                  LPDDSURFACEDESC2 lpDDSD2, LPVOID context,
54                  LPDDENUMSURFACESCALLBACK7 callback)
55 {
56 	DX_WINDBG_trace();
57 	DX_STUB;
58 }
59 
60 /*
61  * Status: Implementation removed due to rewrite
62  */
63 HRESULT WINAPI
64 Main_DirectDraw_FlipToGDISurface(LPDDRAWI_DIRECTDRAW_INT This)
65 {
66 	DX_WINDBG_trace();
67 	DX_STUB;
68 }
69 
70 
71 HRESULT WINAPI
72 Main_DirectDraw_GetGDISurface(LPDDRAWI_DIRECTDRAW_INT This,
73                                              LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
74 {
75 	DX_WINDBG_trace();
76 	DX_STUB;
77 }
78 
79 HRESULT WINAPI
80 Main_DirectDraw_GetScanLine(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpdwScanLine)
81 {
82 	DX_WINDBG_trace();
83 	DX_STUB;
84 }
85 
86 HRESULT WINAPI
87 Main_DirectDraw_GetVerticalBlankStatus(LPDDRAWI_DIRECTDRAW_INT This, LPBOOL lpbIsInVB)
88 {
89 	DX_WINDBG_trace();
90 	DX_STUB;
91 }
92 
93 /*
94  * Status: Implementation removed due to rewrite
95  */
96 HRESULT WINAPI
97 Main_DirectDraw_WaitForVerticalBlank(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
98                                                    HANDLE h)
99 {
100 	DX_WINDBG_trace();
101 	DX_STUB;
102 }
103 
104 HRESULT WINAPI Main_DirectDraw_GetSurfaceFromDC(LPDDRAWI_DIRECTDRAW_INT This, HDC hdc,
105                                                 LPDIRECTDRAWSURFACE7 *lpDDS)
106 {
107 	DX_WINDBG_trace();
108 	DX_STUB;
109 }
110 
111 HRESULT WINAPI Main_DirectDraw_RestoreAllSurfaces(LPDDRAWI_DIRECTDRAW_INT This)
112 {
113 	DX_WINDBG_trace();
114 	DX_STUB;
115 }
116 
117 HRESULT WINAPI Main_DirectDraw_TestCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This)
118 {
119 	DX_WINDBG_trace();
120 	DX_STUB;
121 }
122 
123 
124 HRESULT WINAPI Main_DirectDraw_StartModeTest(LPDDRAWI_DIRECTDRAW_INT This, LPSIZE pModes,
125                   DWORD dwNumModes, DWORD dwFlags)
126 {
127 	DX_WINDBG_trace();
128 	DX_STUB;
129 }
130 
131 HRESULT WINAPI Main_DirectDraw_EvaluateMode(LPDDRAWI_DIRECTDRAW_INT This,DWORD a,DWORD* b)
132 {
133 	DX_WINDBG_trace();
134 	DX_STUB;
135 }
136