ReactOS  0.4.15-dev-1386-g5cb9f87
d3d8thk.h
Go to the documentation of this file.
1 
2 #ifndef __D3D8THK_H
3 #define __D3D8THK_H
4 
5 #include <ddrawint.h>
6 #include <d3dnthal.h>
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
13  HANDLE hDirectDrawLocal,
14  HANDLE hSurfColor,
15  HANDLE hSurfZ,
17 );
18 
19 
21  LPD3DNTHAL_CONTEXTDESTROYDATA pContextDestroyData
22 );
23 
25  LPD3DNTHAL_CONTEXTDESTROYDATA pContextDestroyData
26 );
27 
29  HANDLE hCmdBuf,
30  HANDLE hVBuf,
32  FLATPTR *pfpVidMemCmd,
33  DWORD *pdwSizeCmd,
34  FLATPTR *pfpVidMemVtx,
35  DWORD *pdwSizeVtx
36 );
37 
40 );
41 
42 
44  HANDLE hSurface,
45  HANDLE hSurfaceAttached,
46  PDD_ADDATTACHEDSURFACEDATA puAddAttachedSurfaceData
47 );
48 
50 
52  HANDLE hSurfaceFrom,
53  HANDLE hSurfaceTo
54 );
55 
57  HANDLE hMoComp,
58  PDD_BEGINMOCOMPFRAMEDATA puBeginFrameData
59 );
60 
62  HANDLE hSurfaceDest,
63  HANDLE hSurfaceSrc,
64  PDD_BLTDATA puBltData
65 );
66 
68  HANDLE hDirectDraw,
69  PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
70 );
71 
73  HANDLE hDirectDraw,
74  PDD_CANCREATESURFACEDATA puCanCreateSurfaceData
75 );
76 
78  HANDLE hSurface,
79  PDD_COLORCONTROLDATA puColorControlData
80 );
81 
83  HANDLE hDirectDraw,
84  HANDLE *hSurface,
85  DDSURFACEDESC *puSurfaceDescription,
86  DD_SURFACE_GLOBAL *puSurfaceGlobalData,
87  DD_SURFACE_LOCAL *puSurfaceLocalData,
88  DD_SURFACE_MORE *puSurfaceMoreData,
89  PDD_CREATESURFACEDATA puCreateSurfaceData,
90  HANDLE *puhSurface
91 );
92 
94 
96  HANDLE hDirectDraw,
97  PDD_CREATEMOCOMPDATA puCreateMoCompData
98 );
99 
101  HANDLE hDirectDraw,
102  HANDLE *hSurface,
103  DDSURFACEDESC *puSurfaceDescription,
104  DD_SURFACE_GLOBAL *puSurfaceGlobalData,
105  DD_SURFACE_LOCAL *puSurfaceLocalData,
106  DD_SURFACE_MORE *puSurfaceMoreData,
107  PDD_CREATESURFACEDATA puCreateSurfaceData,
108  HANDLE *puhSurface
109 );
110 
112  HANDLE hDirectDraw,
113  HANDLE hSurface,
114  DWORD dwSurfaceHandle
115 );
116 
118  HANDLE hDirectDrawLocal,
119  HANDLE hSurface,
120  PDD_SURFACE_LOCAL puSurfaceLocal,
121  PDD_SURFACE_MORE puSurfaceMore,
122  PDD_SURFACE_GLOBAL puSurfaceGlobal,
123  BOOL bComplete
124 );
125 
127  HANDLE hDirectDrawLocal
128 );
129 
131  HANDLE hSurface
132 );
133 
135  HANDLE hSurface
136 );
137 
139  HANDLE hMoComp,
140  PDD_DESTROYMOCOMPDATA puBeginFrameData
141 );
142 
144  HANDLE hSurface,
145  BOOL bRealDestroy
146 );
147 
149  HANDLE hMoComp,
150  PDD_ENDMOCOMPFRAMEDATA puEndFrameData
151 );
152 
154  HANDLE hSurfaceCurrent,
155  HANDLE hSurfaceTarget,
156  HANDLE hSurfaceCurrentLeft,
157  HANDLE hSurfaceTargetLeft,
158  PDD_FLIPDATA puFlipData
159 );
160 
162  HANDLE hDirectDraw,
163  PDD_FLIPTOGDISURFACEDATA puFlipToGDISurfaceData
164 );
165 
167  HANDLE hDirectDraw,
168  PDD_GETAVAILDRIVERMEMORYDATA puGetAvailDriverMemoryData
169 );
170 
172  HANDLE hSurface,
173  PDD_GETBLTSTATUSDATA puGetBltStatusData
174 );
175 
177  HANDLE hSurface,
178  PALETTEENTRY *puColorTable
179 );
180 
182  HANDLE hDirectDraw,
183  PDD_GETDRIVERINFODATA puGetDriverInfoData
184 );
185 
188 );
189 
191  HANDLE hDirectDraw,
192  HANDLE hSurface,
193  BOOL bRelease
194 );
195 
197  HANDLE hSurface,
198  PDD_GETFLIPSTATUSDATA puGetFlipStatusData
199 );
200 
202  HANDLE hDirectDraw,
203  PDD_GETINTERNALMOCOMPDATA puGetInternalData
204 );
205 
207  HANDLE hDirectDraw,
208  PDD_GETMOCOMPCOMPBUFFDATA puGetBuffData
209 );
210 
212  HANDLE hDirectDraw,
213  PDD_GETMOCOMPFORMATSDATA puGetMoCompFormatsData
214 );
215 
217  HANDLE hDirectDraw,
218  PDD_GETMOCOMPGUIDSDATA puGetMoCompGuidsData
219 );
220 
222  HANDLE hDirectDraw,
223  PDD_GETSCANLINEDATA puGetScanLineData
224 );
225 
227  HANDLE hSurface,
228  PDD_LOCKDATA puLockData,
229  HDC hdcClip
230 );
231 
233  HANDLE hSurface,
234  PDD_LOCKDATA puLockData
235 );
236 
237 
239  HANDLE hDirectDrawLocal,
241  DWORD *pCallBackFlags,
242  LPD3DNTHAL_CALLBACKS puD3dCallbacks,
243  LPD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData,
244  PDD_D3DBUFCALLBACKS puD3dBufferCallbacks,
245  LPDDSURFACEDESC puD3dTextureFormats,
246  DWORD *puNumHeaps,
247  VIDEOMEMORY *puvmList,
248  DWORD *puNumFourCC,
249  DWORD *puFourCC
250 );
251 
252 
254  HANDLE hMoComp,
255  PDD_QUERYMOCOMPSTATUSDATA puQueryMoCompStatusData
256 );
257 
259  HANDLE hDirectDrawLocal,
260  BOOL *pubNewMode
261 );
262 
264  HANDLE hSurface
265 );
266 
268  HANDLE hMoComp,
269  PDD_RENDERMOCOMPDATA puRenderMoCompData
270 );
271 
273  HANDLE hSurface,
274  HWND hwnd
275 );
276 
278  HANDLE hSurface,
279  PDD_SETCOLORKEYDATA puSetColorKeyData
280 );
281 
283  HANDLE hDirectDraw,
284  PDD_SETEXCLUSIVEMODEDATA puSetExclusiveModeData
285 );
286 
288  HANDLE hDirectDraw,
289  HDC hdc,
290  LPVOID lpGammaRamp
291 );
292 
294  HANDLE hSurfaceSource,
295  HANDLE hSurfaceDestination,
296  PDD_SETOVERLAYPOSITIONDATA puSetOverlayPositionData
297 );
298 
300  HANDLE hSurface,
301  HANDLE hSurfaceAttached
302 );
303 
305  HANDLE hSurface,
306  PDD_UNLOCKDATA puUnlockData
307 );
308 
310  HANDLE hSurface,
311  PDD_UNLOCKDATA puUnlockData
312 );
313 
315  HANDLE hSurfaceDestination,
316  HANDLE hSurfaceSource,
317  PDD_UPDATEOVERLAYDATA puUpdateOverlayData
318 );
319 
321  HANDLE hDirectDraw,
322  PDD_WAITFORVERTICALBLANKDATA puWaitForVerticalBlankData
323 );
324 
325 #ifdef __cplusplus
326 } /* extern "C" */
327 #endif
328 
329 #endif // __D3D8THK_H
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HANDLE WINAPI OsThunkDdCreateSurfaceObject(HANDLE hDirectDrawLocal, HANDLE hSurface, PDD_SURFACE_LOCAL puSurfaceLocal, PDD_SURFACE_MORE puSurfaceMore, PDD_SURFACE_GLOBAL puSurfaceGlobal, BOOL bComplete)
HDC WINAPI OsThunkDdGetDC(HANDLE hSurface, PALETTEENTRY *puColorTable)
DWORD WINAPI OsThunkDdGetBltStatus(HANDLE hSurface, PDD_GETBLTSTATUSDATA puGetBltStatusData)
DWORD WINAPI OsThunkDdGetMoCompFormats(HANDLE hDirectDraw, PDD_GETMOCOMPFORMATSDATA puGetMoCompFormatsData)
DWORD WINAPI OsThunkDdGetScanLine(HANDLE hDirectDraw, PDD_GETSCANLINEDATA puGetScanLineData)
BOOL WINAPI OsThunkDdReleaseDC(HANDLE hSurface)
DWORD WINAPI OsThunkDdFlip(HANDLE hSurfaceCurrent, HANDLE hSurfaceTarget, HANDLE hSurfaceCurrentLeft, HANDLE hSurfaceTargetLeft, PDD_FLIPDATA puFlipData)
DWORD WINAPI OsThunkDdUnlock(HANDLE hSurface, PDD_UNLOCKDATA puUnlockData)
DWORD WINAPI OsThunkDdBlt(HANDLE hSurfaceDest, HANDLE hSurfaceSrc, PDD_BLTDATA puBltData)
DWORD WINAPI OsThunkDdLockD3D(HANDLE hSurface, PDD_LOCKDATA puLockData)
DWORD WINAPI OsThunkDdFlipToGDISurface(HANDLE hDirectDraw, PDD_FLIPTOGDISURFACEDATA puFlipToGDISurfaceData)
BOOL WINAPI OsThunkDdQueryDirectDrawObject(HANDLE hDirectDrawLocal, DD_HALINFO *pHalInfo, DWORD *pCallBackFlags, LPD3DNTHAL_CALLBACKS puD3dCallbacks, LPD3DNTHAL_GLOBALDRIVERDATA puD3dDriverData, PDD_D3DBUFCALLBACKS puD3dBufferCallbacks, LPDDSURFACEDESC puD3dTextureFormats, DWORD *puNumHeaps, VIDEOMEMORY *puvmList, DWORD *puNumFourCC, DWORD *puFourCC)
DWORD WINAPI OsThunkDdCanCreateSurface(HANDLE hDirectDraw, PDD_CANCREATESURFACEDATA puCanCreateSurfaceData)
DWORD WINAPI OsThunkD3dContextDestroyAll(LPD3DNTHAL_CONTEXTDESTROYDATA pContextDestroyData)
BOOL WINAPI OsThunkDdReenableDirectDrawObject(HANDLE hDirectDrawLocal, BOOL *pubNewMode)
static HDC
Definition: imagelist.c:92
DWORD WINAPI OsThunkDdUnlockD3D(HANDLE hSurface, PDD_UNLOCKDATA puUnlockData)
DWORD WINAPI OsThunkDdSetColorKey(HANDLE hSurface, PDD_SETCOLORKEYDATA puSetColorKeyData)
DWORD WINAPI OsThunkDdCreateSurface(HANDLE hDirectDraw, HANDLE *hSurface, DDSURFACEDESC *puSurfaceDescription, DD_SURFACE_GLOBAL *puSurfaceGlobalData, DD_SURFACE_LOCAL *puSurfaceLocalData, DD_SURFACE_MORE *puSurfaceMoreData, PDD_CREATESURFACEDATA puCreateSurfaceData, HANDLE *puhSurface)
DWORD WINAPI OsThunkDdSetOverlayPosition(HANDLE hSurfaceSource, HANDLE hSurfaceDestination, PDD_SETOVERLAYPOSITIONDATA puSetOverlayPositionData)
DWORD WINAPI OsThunkDdBeginMoCompFrame(HANDLE hMoComp, PDD_BEGINMOCOMPFRAMEDATA puBeginFrameData)
BOOL WINAPI OsThunkDdDeleteSurfaceObject(HANDLE hSurface)
HANDLE WINAPI OsThunkDdCreateMoComp(HANDLE hDirectDraw, PDD_CREATEMOCOMPDATA puCreateMoCompData)
DWORD WINAPI OsThunkDdRenderMoComp(HANDLE hMoComp, PDD_RENDERMOCOMPDATA puRenderMoCompData)
DWORD WINAPI OsThunkDdLock(HANDLE hSurface, PDD_LOCKDATA puLockData, HDC hdcClip)
DWORD WINAPI OsThunkDdGetDxHandle(HANDLE hDirectDraw, HANDLE hSurface, BOOL bRelease)
BOOL WINAPI OsThunkDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD WINAPI OsThunkDdColorControl(HANDLE hSurface, PDD_COLORCONTROLDATA puColorControlData)
BOOL WINAPI OsThunkDdSetGammaRamp(HANDLE hDirectDraw, HDC hdc, LPVOID lpGammaRamp)
HANDLE WINAPI OsThunkDdCreateDirectDrawObject(HDC hdc)
DWORD WINAPI OsThunkDdGetMoCompBuffInfo(HANDLE hDirectDraw, PDD_GETMOCOMPCOMPBUFFDATA puGetBuffData)
DWORD WINAPI OsThunkDdGetDriverInfo(HANDLE hDirectDraw, PDD_GETDRIVERINFODATA puGetDriverInfoData)
DWORD WINAPI OsThunkD3dDrawPrimitives2(HANDLE hCmdBuf, HANDLE hVBuf, LPD3DNTHAL_DRAWPRIMITIVES2DATA pded, FLATPTR *pfpVidMemCmd, DWORD *pdwSizeCmd, FLATPTR *pfpVidMemVtx, DWORD *pdwSizeVtx)
DWORD WINAPI OsThunkD3dContextDestroy(LPD3DNTHAL_CONTEXTDESTROYDATA pContextDestroyData)
DWORD WINAPI OsThunkD3dValidateTextureStageState(LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA pData)
static PROTOCOLDATA * pdata
Definition: protocol.c:158
DWORD WINAPI OsThunkDdGetAvailDriverMemory(HANDLE hDirectDraw, PDD_GETAVAILDRIVERMEMORYDATA puGetAvailDriverMemoryData)
DWORD WINAPI OsThunkDdGetMoCompGuids(HANDLE hDirectDraw, PDD_GETMOCOMPGUIDSDATA puGetMoCompGuidsData)
ULONG_PTR FLATPTR
Definition: ddrawint.h:76
BOOL WINAPI OsThunkDdAttachSurface(HANDLE hSurfaceFrom, HANDLE hSurfaceTo)
#define WINAPI
Definition: msvc.h:6
DWORD WINAPI OsThunkDdQueryMoCompStatus(HANDLE hMoComp, PDD_QUERYMOCOMPSTATUSDATA puQueryMoCompStatusData)
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD WINAPI OsThunkDdDestroySurface(HANDLE hSurface, BOOL bRealDestroy)
_Out_ DD_HALINFO * pHalInfo
Definition: winddi.h:4226
HDC hdc
Definition: main.c:9
DWORD WINAPI OsThunkDdUpdateOverlay(HANDLE hSurfaceDestination, HANDLE hSurfaceSource, PDD_UPDATEOVERLAYDATA puUpdateOverlayData)
DWORD WINAPI OsThunkDdGetFlipStatus(HANDLE hSurface, PDD_GETFLIPSTATUSDATA puGetFlipStatusData)
DWORD WINAPI OsThunkDdCreateD3DBuffer(HANDLE hDirectDraw, HANDLE *hSurface, DDSURFACEDESC *puSurfaceDescription, DD_SURFACE_GLOBAL *puSurfaceGlobalData, DD_SURFACE_LOCAL *puSurfaceLocalData, DD_SURFACE_MORE *puSurfaceMoreData, PDD_CREATESURFACEDATA puCreateSurfaceData, HANDLE *puhSurface)
BOOL WINAPI OsThunkDdResetVisrgn(HANDLE hSurface, HWND hwnd)
DWORD WINAPI OsThunkDdDestroyD3DBuffer(HANDLE hSurface)
DWORD WINAPI OsThunkDdCreateSurfaceEx(HANDLE hDirectDraw, HANDLE hSurface, DWORD dwSurfaceHandle)
DWORD WINAPI OsThunkDdAlphaBlt(VOID)
DWORD WINAPI OsThunkDdGetInternalMoCompInfo(HANDLE hDirectDraw, PDD_GETINTERNALMOCOMPDATA puGetInternalData)
DWORD WINAPI OsThunkDdCanCreateD3DBuffer(HANDLE hDirectDraw, PDD_CANCREATESURFACEDATA puCanCreateSurfaceData)
DWORD WINAPI OsThunkDdEndMoCompFrame(HANDLE hMoComp, PDD_ENDMOCOMPFRAMEDATA puEndFrameData)
DWORD WINAPI OsThunkDdWaitForVerticalBlank(HANDLE hDirectDraw, PDD_WAITFORVERTICALBLANKDATA puWaitForVerticalBlankData)
DWORD WINAPI OsThunkDdSetExclusiveMode(HANDLE hDirectDraw, PDD_SETEXCLUSIVEMODEDATA puSetExclusiveModeData)
VOID WINAPI OsThunkDdUnattachSurface(HANDLE hSurface, HANDLE hSurfaceAttached)
DWORD WINAPI OsThunkDdGetDriverState(PDD_GETDRIVERSTATEDATA pdata)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1827
DWORD WINAPI OsThunkDdAddAttachedSurface(HANDLE hSurface, HANDLE hSurfaceAttached, PDD_ADDATTACHEDSURFACEDATA puAddAttachedSurfaceData)
DWORD WINAPI OsThunkDdDestroyMoComp(HANDLE hMoComp, PDD_DESTROYMOCOMPDATA puBeginFrameData)
BOOL WINAPI OsThunkD3dContextCreate(HANDLE hDirectDrawLocal, HANDLE hSurfColor, HANDLE hSurfZ, LPD3DNTHAL_CONTEXTDESTROYDATA pdcci)