Go to the source code of this file.
|
BOOL APIENTRY | DrvEnableDirectDraw (DHPDEV dhpdev, DD_CALLBACKS *pCallbacks, DD_SURFACECALLBACKS *pSurfaceCallbacks, DD_PALETTECALLBACKS *pPaletteCallbacks) |
|
VOID APIENTRY | DrvDisableDirectDraw (DHPDEV dhpdev) |
|
BOOL APIENTRY | DrvEnableDriver (ULONG iEngineVersion, ULONG cj, PDRVENABLEDATA pded) |
|
DHPDEV APIENTRY | DrvEnablePDEV (IN DEVMODEW *pdm, IN LPWSTR pwszLogAddress, IN ULONG cPat, OUT HSURF *phsurfPatterns, IN ULONG cjCaps, OUT ULONG *pdevcaps, IN ULONG cjDevInfo, OUT DEVINFO *pdi, IN HDEV hdev, IN LPWSTR pwszDeviceName, IN HANDLE hDriver) |
|
VOID APIENTRY | DrvCompletePDEV (IN DHPDEV dhpdev, IN HDEV hdev) |
|
VOID APIENTRY | DrvDisablePDEV (IN DHPDEV dhpdev) |
|
◆ DrvCompletePDEV()
◆ DrvDisableDirectDraw()
◆ DrvDisablePDEV()
Definition at line 186 of file enable.c.
188{
190 {
192 }
193
194 if (((
PPDEV)dhpdev)->PaletteEntries !=
NULL)
195 {
197 }
198
200}
static const UCHAR DefaultPalette[]
ENGAPI BOOL APIENTRY EngDeletePalette(_In_ _Post_ptr_invalid_ HPALETTE hpal)
◆ DrvEnableDirectDraw()
Definition at line 45 of file enable.c.
50{
54
55 pCallbacks->
dwSize =
sizeof(*pCallbacks);
56 pSurfaceCallbacks->
dwSize =
sizeof(*pSurfaceCallbacks);
57 pPaletteCallbacks->
dwSize =
sizeof(*pPaletteCallbacks);
58
59
60
62}
#define RtlZeroMemory(Destination, Length)
◆ DrvEnableDriver()
Definition at line 86 of file enable.c.
90{
92 {
97 }
98 else
99 {
101 }
102}
static DRVFN DrvFunctionTable[]
#define DDI_DRIVER_VERSION_NT5
◆ DrvEnablePDEV()
DHPDEV APIENTRY DrvEnablePDEV |
( |
IN DEVMODEW * |
pdm, |
|
|
IN LPWSTR |
pwszLogAddress, |
|
|
IN ULONG |
cPat, |
|
|
OUT HSURF * |
phsurfPatterns, |
|
|
IN ULONG |
cjCaps, |
|
|
OUT ULONG * |
pdevcaps, |
|
|
IN ULONG |
cjDevInfo, |
|
|
OUT DEVINFO * |
pdi, |
|
|
IN HDEV |
hdev, |
|
|
IN LPWSTR |
pwszDeviceName, |
|
|
IN HANDLE |
hDriver |
|
) |
| |
Definition at line 114 of file enable.c.
126{
130
133 {
135 }
136
138
140 {
143 }
144
146 {
149 }
150
153
155}
BOOL IntInitScreenInfo(PPDEV ppdev, LPDEVMODEW pDevMode, PGDIINFO pGdiInfo, PDEVINFO pDevInfo)
BOOL IntInitDefaultPalette(PPDEV ppdev, PDEVINFO pDevInfo)
#define memcpy(s1, s2, n)
void * EngAllocMem(int zero, unsigned long size, int tag=0)
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG cjDevInfo
typedef DHPDEV(APIENTRY FN_DrvEnablePDEV)(_In_ DEVMODEW *pdm
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO * pdi
_In_ LPWSTR _In_ ULONG _In_ ULONG cjCaps
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
◆ DrvFunctionTable
Initial value:=
{
}
#define INDEX_DrvSetPointerShape
LONG_PTR(APIENTRY * PFN)()
FN_DrvDisableDirectDraw DrvDisableDirectDraw
FN_DrvSetPalette DrvSetPalette
#define INDEX_DrvDisableSurface
#define INDEX_DrvEnableDirectDraw
#define INDEX_DrvMovePointer
#define INDEX_DrvDisableDirectDraw
FN_DrvSetPointerShape DrvSetPointerShape
FN_DrvGetModes DrvGetModes
#define INDEX_DrvCompletePDEV
#define INDEX_DrvSetPalette
FN_DrvEnableSurface DrvEnableSurface
#define INDEX_DrvEnablePDEV
FN_DrvMovePointer DrvMovePointer
FN_DrvCompletePDEV DrvCompletePDEV
#define INDEX_DrvAssertMode
FN_DrvEnableDirectDraw DrvEnableDirectDraw
FN_DrvEnablePDEV DrvEnablePDEV
FN_DrvAssertMode DrvAssertMode
FN_DrvDisableSurface DrvDisableSurface
FN_DrvDisablePDEV DrvDisablePDEV
#define INDEX_DrvEnableSurface
#define INDEX_DrvDisablePDEV
#define INDEX_DrvGetModes
Definition at line 23 of file enable.c.
Referenced by DrvEnableDriver().