66#define MAX_CLUT_SIZE (sizeof(VIDEO_CLUT) + (sizeof(ULONG) * 256))
73#define DRIVER_EXTRA_SIZE 0
76#define DLL_NAME L"vga"
77#define STANDARD_DEBUG_PREFIX "Vga risc: "
78#define ALLOC_TAG 'rgvD'
91#define VAL(data, px, pl, pos) ((data) >> (((px) * 4) + (pl)) & 1) << (pos)
97#define SET_PLANE_DATA(x, y, a, b) \
98 (x) |= VAL(y, (((-1 + ((((b) % 8) % 2) << 1) - (((b) % 8) + 1) + 8))), a, b)
101#define ALIGN_DOWN_BY(size, align) \
102 ((ULONG_PTR)(size) & ~((ULONG_PTR)(align) - 1))
104#define ALIGN_UP_BY(size, align) \
105 (ALIGN_DOWN_BY(((ULONG_PTR)(size) + align - 1), align))
VIDEO_POINTER_CAPABILITIES PointerCapabilities
DWORD cjPointerAttributes
PVIDEO_POINTER_ATTRIBUTES pPointerAttributes
BOOL bInitPointer(PPDEV, DEVINFO *)
BOOL bInitSURF(PPDEV, BOOL)
BOOL bInitPDEV(PPDEV, PDEVMODEW, GDIINFO *, DEVINFO *)
VOID vDisablePalette(PPDEV)
DWORD getAvailableModes(HANDLE, PVIDEO_MODE_INFORMATION *, DWORD *)
BOOL bInitPaletteInfo(PPDEV, DEVINFO *)
BOOL bInit256ColorPalette(PPDEV)
typedef HSURF(APIENTRY FN_DrvEnableSurface)(_In_ DHPDEV dhpdev)