#include <win32k.h>
#include <debug.h>
Go to the source code of this file.
◆ _Ret_opt_bytecount_()
Definition at line 64 of file eng.c.
73{
75
76 if (pfnEngAllocPrivateUserMem ==
NULL)
77 {
78 DPRINT1(
"Warning: no pfnEngAllocPrivateUserMem\n");
80 }
81
82 DPRINT(
"Calling dxg.sys pfnEngAllocPrivateUserMem\n");
84}
#define DDHAL_DRIVER_NOTHANDLED
#define DXG_INDEX_DxDdAllocPrivateUserMem
PVOID(APIENTRY * PGD_ENGALLOCPRIVATEUSERMEM)(PDD_SURFACE_LOCAL, SIZE_T, ULONG)
DRVFN gpDxFuncs[DXG_INDEX_DxDdIoctl+1]
_In_ ULONG _In_ ULONG ulTag
_Must_inspect_result_ _In_ ULONG cjMemSize
◆ EngDxIoctl()
Definition at line 133 of file eng.c.
136{
139
140 DPRINT(
"Calling dxg.sys pfnEngDxIoctl\n");
141 if (pfnEngDxIoctl !=
NULL)
142 {
143 retVal = pfnEngDxIoctl(ulIoctl,
pBuffer, ulBufferSize);
144 }
145
146 return retVal;
147}
#define DXG_INDEX_DxDdIoctl
DWORD(NTAPI * PGD_ENGDXIOCTL)(ULONG, PVOID, ULONG)
#define DDERR_UNSUPPORTED
◆ EngFreePrivateUserMem()
Definition at line 91 of file eng.c.
93{
95
96 if (pfnEngFreePrivateUserMem ==
NULL)
97 {
98 DPRINT1(
"Warning: no pfnEngFreePrivateUserMem\n");
99 }
100 else
101 {
102 DPRINT(
"Calling dxg.sys pfnEngFreePrivateUserMem\n");
103 pfnEngFreePrivateUserMem(psl, pv);
104 }
105}
#define DXG_INDEX_DxDdFreePrivateUserMem
VOID(APIENTRY * PGD_ENGFREEPRIVATEUSERMEM)(PDD_SURFACE_LOCAL, PVOID)
◆ EngLockDirectDrawSurface()
Definition at line 167 of file eng.c.
168{
171
172 DPRINT(
"Calling dxg.sys pfnEngLockDirectDrawSurface\n");
173 if (pfnEngLockDirectDrawSurface !=
NULL)
174 {
175 retVal = pfnEngLockDirectDrawSurface(hSurface);
176 }
177
178 return retVal;
179}
#define DXG_INDEX_DxDdLockDirectDrawSurface
PDD_SURFACE_LOCAL(APIENTRY * PGD_ENGLOCKDIRECTDRAWSURFACE)(HANDLE)
◆ EngUnlockDirectDrawSurface()
Definition at line 199 of file eng.c.
200{
203
204 DPRINT(
"Calling dxg.sys pfnEngUnlockDirectDrawSurface\n");
205 if (pfnEngUnlockDirectDrawSurface !=
NULL)
206 {
207 retVal = pfnEngUnlockDirectDrawSurface(
pSurface);
208 }
209
210 return retVal;
211}
#define DXG_INDEX_DxDdUnlockDirectDrawSurface
BOOL(APIENTRY * PGD_ENGUNLOCKDIRECTDRAWSURFACE)(PDD_SURFACE_LOCAL)
_In_ DD_SURFACE_LOCAL * pSurface
◆ HeapVidMemAllocAligned()
Definition at line 21 of file eng.c.
26{
28
29 if (pfnHeapVidMemAllocAligned ==
NULL)
30 {
31 DPRINT1(
"Warning: no pfnHeapVidMemAllocAligned\n");
32 return 0;
33 }
34
35 DPRINT(
"Calling dxg.sys pfnHeapVidMemAllocAligned\n");
36 return pfnHeapVidMemAllocAligned(lpVidMem,
dwWidth,
dwHeight, lpAlignment, lpNewPitch);
37}
static const WCHAR dwWidth[]
static const WCHAR dwHeight[]
#define DXG_INDEX_DxDdHeapVidMemAllocAligned
FLATPTR(APIENTRY * PGD_HEAPVIDMEMALLOCALIGNED)(LPVIDMEM, DWORD, DWORD, LPSURFACEALIGNMENT, LPLONG)
◆ VidMemFree()
Definition at line 44 of file eng.c.
46{
48
49 if (pfnVidMemFree ==
NULL)
50 {
51 DPRINT1(
"Warning: no pfnVidMemFree\n");
52 }
53 else
54 {
55 DPRINT(
"Calling dxg.sys pfnVidMemFree\n");
56 pfnVidMemFree(pvmh,
ptr);
57 }
58}
#define DXG_INDEX_DxDdHeapVidMemFree
VOID(APIENTRY * PGD_VIDMEMFREE)(LPVMEMHEAP, FLATPTR)