65 if (pfnDdCanCreateD3DBuffer ==
NULL)
67 DPRINT1(
"Warning: no pfnDdCanCreateD3DBuffer\n");
71 DPRINT(
"Calling dxg.sys pfnDdCanCreateD3DBuffer\n");
72 return pfnDdCanCreateD3DBuffer(hDirectDraw,puCanCreateSurfaceData);
124 if (pfnD3dContextCreate ==
NULL)
126 DPRINT1(
"Warning: no pfnD3dContextCreate\n");
130 DPRINT(
"Calling dxg.sys pfnD3dContextCreate\n");
131 return pfnD3dContextCreate(hDirectDrawLocal, hSurfColor, hSurfZ, pdcci);
159 if ( pfnD3dContextDestroy ==
NULL)
161 DPRINT1(
"Warning: no pfnD3dContextDestroy\n");
165 DPRINT(
"Calling dxg.sys pfnD3dContextDestroy\n");
166 return pfnD3dContextDestroy(pContextDestroyData);
197 if (pfnD3dContextDestroyAll ==
NULL)
199 DPRINT1(
"Warning: no pfnD3dContextDestroyAll\n");
203 DPRINT(
"Calling dxg.sys pfnD3dContextDestroyAll\n");
204 return pfnD3dContextDestroyAll(pdcad);
272 if (pfnDdCreateD3DBuffer ==
NULL)
274 DPRINT1(
"Warning: no pfnDdCreateD3DBuffer\n");
278 DPRINT(
"Calling dxg.sys pfnDdCreateD3DBuffer\n");
279 return pfnDdCreateD3DBuffer(hDirectDraw, hSurface,
280 puSurfaceDescription, puSurfaceGlobalData,
281 puSurfaceLocalData, puSurfaceMoreData,
282 puCreateSurfaceData, puhSurface);
295 if (pfnDdDestroyD3DBuffer ==
NULL)
297 DPRINT1(
"Warning: no pfnDdDestroyD3DBuffer\n");
301 DPRINT(
"Calling dxg.sys pfnDdDestroyD3DBuffer\n");
302 return pfnDdDestroyD3DBuffer(hSurface);
321 if (pfnD3dDrawPrimitives2 ==
NULL)
323 DPRINT1(
"Warning: no pfnD3dDrawPrimitives2\n");
327 DPRINT(
"Calling dxg.sys pfnD3dDrawPrimitives2\n");
328 return pfnD3dDrawPrimitives2(hCmdBuf,hVBuf,pded,pfpVidMemCmd,pdwSizeCmd,pfpVidMemVtx,pdwSizeVtx);
341 if (pfnDdLockD3D ==
NULL)
343 DPRINT1(
"Warning: no pfnDdLockD3D\n");
347 DPRINT(
"Calling dxg.sys pfnDdLockD3D\n");
348 return pfnDdLockD3D(hSurface, puLockData);
361 if (pfnD3dValidateTextureStageState ==
NULL)
363 DPRINT1(
"Warning: no pfnD3dValidateTextureStageState\n");
367 DPRINT(
"Calling dxg.sys pfnD3dValidateTextureStageState\n");
368 return pfnD3dValidateTextureStageState(
pData);
381 if (pfnDdUnlockD3D ==
NULL)
383 DPRINT1(
"Warning: no pfnDdUnlockD3D\n");
387 DPRINT(
"Calling dxg.sys pfnDdUnlockD3D\n");
388 return pfnDdUnlockD3D(hSurface, puUnlockData);
#define DDHAL_DRIVER_NOTHANDLED
#define DXG_INDEX_DxDdCanCreateD3DBuffer
#define DXG_INDEX_DxDdCreateD3DBuffer
#define DXG_INDEX_DxD3dDrawPrimitives2
#define DXG_INDEX_DxD3dContextCreate
#define DXG_INDEX_DxD3dContextDestroy
#define DXG_INDEX_DxD3dValidateTextureStageState
#define DXG_INDEX_DxDdLockD3D
#define DXG_INDEX_DxD3dContextDestroyAll
#define DXG_INDEX_DxDdUnlockD3D
#define DXG_INDEX_DxDdDestroyD3DBuffer
DWORD(APIENTRY * PGD_DDCANCREATED3DBUFFER)(HANDLE, PDD_CANCREATESURFACEDATA)
DWORD(APIENTRY * PGD_DXDDLOCKD3D)(HANDLE, PDD_LOCKDATA)
DWORD(APIENTRY * PGD_D3DDRAWPRIMITIVES2)(HANDLE, HANDLE, LPD3DNTHAL_DRAWPRIMITIVES2DATA, FLATPTR *, DWORD *, FLATPTR *, DWORD *)
DWORD(APIENTRY * PGD_D3DCONTEXTDESTROYALL)(LPD3DNTHAL_CONTEXTDESTROYALLDATA)
DWORD(APIENTRY * PGD_DXDDDESTROYD3DBUFFER)(HANDLE)
DWORD(APIENTRY * PGD_DDCREATED3DBUFFER)(HANDLE, HANDLE *, DDSURFACEDESC *, DD_SURFACE_GLOBAL *, DD_SURFACE_LOCAL *, DD_SURFACE_MORE *, PDD_CREATESURFACEDATA, HANDLE *)
BOOL(APIENTRY * PGD_D3DCONTEXTCREATE)(HANDLE, HANDLE, HANDLE, LPD3DNTHAL_CONTEXTCREATEDATA)
DWORD(APIENTRY * PGD_DXDDUNLOCKD3D)(HANDLE, PDD_UNLOCKDATA)
DWORD(APIENTRY * PGD_D3DCONTEXTDESTROY)(LPD3DNTHAL_CONTEXTDESTROYDATA)
DWORD(APIENTRY * PGD_D3DVALIDATETEXTURESTAGESTATE)(LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA)
DWORD APIENTRY NtGdiDdLockD3D(HANDLE hSurface, PDD_LOCKDATA puLockData)
DWORD APIENTRY NtGdiD3dContextDestroy(LPD3DNTHAL_CONTEXTDESTROYDATA pContextDestroyData)
DWORD APIENTRY NtGdiDdUnlockD3D(HANDLE hSurface, PDD_UNLOCKDATA puUnlockData)
BOOL APIENTRY NtGdiD3dContextCreate(HANDLE hDirectDrawLocal, HANDLE hSurfColor, HANDLE hSurfZ, LPD3DNTHAL_CONTEXTCREATEDATA pdcci)
DWORD APIENTRY NtGdiD3dValidateTextureStageState(LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA pData)
DWORD APIENTRY NtGdiD3dContextDestroyAll(LPD3DNTHAL_CONTEXTDESTROYALLDATA pdcad)
DWORD APIENTRY NtGdiDdDestroyD3DBuffer(HANDLE hSurface)
DWORD APIENTRY NtGdiD3dDrawPrimitives2(HANDLE hCmdBuf, HANDLE hVBuf, LPD3DNTHAL_DRAWPRIMITIVES2DATA pded, FLATPTR *pfpVidMemCmd, DWORD *pdwSizeCmd, FLATPTR *pfpVidMemVtx, DWORD *pdwSizeVtx)
DWORD APIENTRY NtGdiDdCanCreateD3DBuffer(HANDLE hDirectDraw, PDD_CANCREATESURFACEDATA puCanCreateSurfaceData)
DWORD APIENTRY NtGdiDdCreateD3DBuffer(HANDLE hDirectDraw, HANDLE *hSurface, DDSURFACEDESC *puSurfaceDescription, DD_SURFACE_GLOBAL *puSurfaceGlobalData, DD_SURFACE_LOCAL *puSurfaceLocalData, DD_SURFACE_MORE *puSurfaceMoreData, PDD_CREATESURFACEDATA puCreateSurfaceData, HANDLE *puhSurface)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]