Go to the source code of this file.
◆ DrvAssertMode()
Definition at line 168 of file surface.c.
171{
174
176 {
177
178
179
182 &ulTemp))
183 {
184
186 }
188 {
190 }
191
193 }
194 else
195 {
196
197
198
201 }
202}
BOOL APIENTRY IntSetPalette(IN DHPDEV dhpdev, IN PPALETTEENTRY ppalent, IN ULONG iStart, IN ULONG cColors)
#define IOCTL_VIDEO_SET_CURRENT_MODE
#define IOCTL_VIDEO_RESET_DEVICE
PALETTEENTRY * PaletteEntries
◆ DrvDisableSurface()
Definition at line 133 of file surface.c.
135{
139
142
143#ifdef EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
144
146#endif
147
148
149
150
151
155}
#define IOCTL_VIDEO_UNMAP_VIDEO_MEMORY
PVOID RequestedVirtualAddress
ENGAPI BOOL APIENTRY EngDeleteSurface(_In_ _Post_ptr_invalid_ HSURF hsurf)
FN_DrvSetPointerShape DrvSetPointerShape
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
◆ DrvEnableSurface()
Definition at line 34 of file surface.c.
36{
44
45
46
47
48
51 &ulTemp))
52 {
54 }
55
56
57
58
59
64 &ulTemp))
65 {
67 }
68
70
72 {
73 case 8:
76 break;
77
78 case 16:
80 break;
81
82 case 24:
84 break;
85
86 case 32:
88 break;
89
90 default:
92 }
93
95
98
102 if (hSurface ==
NULL)
103 {
105 }
106
107
108
109
110
112 {
115 }
116
118
119 return hSurface;
120}
#define IOCTL_VIDEO_MAP_VIDEO_MEMORY
ENGAPI HBITMAP APIENTRY EngCreateBitmap(_In_ SIZEL sizl, _In_ LONG lWidth, _In_ ULONG iFormat, _In_ FLONG fl, _In_opt_ PVOID pvBits)
ENGAPI BOOL APIENTRY EngAssociateSurface(_In_ HSURF hsurf, _In_ HDEV hdev, _In_ FLONG flHooks)
typedef HSURF(APIENTRY FN_DrvEnableSurface)(_In_ DHPDEV dhpdev)