#include <win32k.h>
#include <debug.h>
Go to the source code of this file.
◆ _Ret_opt_bytecount_()
Definition at line 63 of file eng.c.
75 if (pfnEngAllocPrivateUserMem ==
NULL)
77 DPRINT1(
"Warning: no pfnEngAllocPrivateUserMem\n");
81 DPRINT1(
"Calling dxg.sys pfnEngAllocPrivateUserMem\n");
#define DDHAL_DRIVER_NOTHANDLED
_Must_inspect_result_ _In_ ULONG cjMemSize
PVOID(APIENTRY * PGD_ENGALLOCPRIVATEUSERMEM)(PDD_SURFACE_LOCAL, SIZE_T, ULONG)
#define DXG_INDEX_DxDdAllocPrivateUserMem
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]
_In_ ULONG _In_ ULONG ulTag
◆ EngDxIoctl()
Definition at line 132 of file eng.c.
139 DPRINT1(
"Calling dxg.sys pfnEngDxIoctl\n");
141 if (pfnEngDxIoctl !=
NULL)
143 retVal = pfnEngDxIoctl(ulIoctl,
pBuffer, ulBufferSize);
#define DDERR_UNSUPPORTED
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]
#define DXG_INDEX_DxDdIoctl
DWORD(NTAPI * PGD_ENGDXIOCTL)(ULONG, PVOID, ULONG)
◆ EngFreePrivateUserMem()
Definition at line 90 of file eng.c.
95 if (pfnEngFreePrivateUserMem ==
NULL)
97 DPRINT1(
"Warning: no pfnEngFreePrivateUserMem\n");
101 DPRINT1(
"Calling dxg.sys pfnEngFreePrivateUserMem\n");
102 pfnEngFreePrivateUserMem(psl, pv);
VOID(APIENTRY * PGD_ENGFREEPRIVATEUSERMEM)(PDD_SURFACE_LOCAL, PVOID)
#define DXG_INDEX_DxDdFreePrivateUserMem
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]
◆ EngLockDirectDrawSurface()
Definition at line 167 of file eng.c.
172 DPRINT1(
"Calling dxg.sys pfnEngLockDirectDrawSurface\n");
174 if (pfnEngLockDirectDrawSurface !=
NULL)
176 retVal = pfnEngLockDirectDrawSurface(hSurface);
#define DXG_INDEX_DxDdLockDirectDrawSurface
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]
PDD_SURFACE_LOCAL(APIENTRY * PGD_ENGLOCKDIRECTDRAWSURFACE)(HANDLE)
◆ EngUnlockDirectDrawSurface()
Definition at line 201 of file eng.c.
206 DPRINT1(
"Calling dxg.sys pfnEngUnlockDirectDrawSurface\n");
208 if (pfnEngUnlockDirectDrawSurface !=
NULL)
210 retVal = pfnEngUnlockDirectDrawSurface(
pSurface);
_In_ DD_SURFACE_LOCAL * pSurface
BOOL(APIENTRY * PGD_ENGUNLOCKDIRECTDRAWSURFACE)(PDD_SURFACE_LOCAL)
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]
#define DXG_INDEX_DxDdUnlockDirectDrawSurface
◆ HeapVidMemAllocAligned()
Definition at line 20 of file eng.c.
28 if (pfnHeapVidMemAllocAligned ==
NULL)
30 DPRINT1(
"Warning: no pfnHeapVidMemAllocAligned\n");
34 DPRINT1(
"Calling dxg.sys pfnHeapVidMemAllocAligned\n");
35 return pfnHeapVidMemAllocAligned(lpVidMem,
dwWidth,
dwHeight, lpAlignment, lpNewPitch);
static const WCHAR dwHeight[]
#define DXG_INDEX_DxDdHeapVidMemAllocAligned
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]
FLATPTR(APIENTRY * PGD_HEAPVIDMEMALLOCALIGNED)(LPVIDMEM, DWORD, DWORD, LPSURFACEALIGNMENT, LPLONG)
static const WCHAR dwWidth[]
◆ VidMemFree()
Definition at line 43 of file eng.c.
48 if (pfnVidMemFree ==
NULL)
50 DPRINT1(
"Warning: no pfnVidMemFree\n");
54 DPRINT1(
"Calling dxg.sys pfnVidMemFree\n");
55 pfnVidMemFree(pvmh,
ptr);
VOID(APIENTRY * PGD_VIDMEMFREE)(LPVMEMHEAP, FLATPTR)
#define DXG_INDEX_DxDdHeapVidMemFree
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]