11#define LOWORD(l) ((USHORT)((ULONG_PTR)(l)))
12#define HIWORD(l) ((USHORT)(((ULONG_PTR)(l)>>16)&0xFFFF))
19#define VBE_GET_CONTROLLER_INFORMATION 0x4F00
20#define VBE_GET_MODE_INFORMATION 0x4F01
21#define VBE_SET_VBE_MODE 0x4F02
22#define VBE_GET_CURRENT_VBE_MODE 0x4F03
23#define VBE_SAVE_RESTORE_STATE 0x4F04
24#define VBE_DISPLAY_WINDOW_CONTROL 0x4F05
25#define VBE_SET_GET_LOGICAL_SCAN_LINE_LENGTH 0x4F06
26#define VBE_SET_GET_DISPLAY_START 0x4F07
27#define VBE_SET_GET_DAC_PALETTE_FORMAT 0x4F08
28#define VBE_SET_GET_PALETTE_DATA 0x4F09
31#define VBE_RETURN_PROTECTED_MODE_INTERFACE 0x4F0A
32#define VBE_GET_SET_PIXEL_CLOCK 0x4F0B
35#define VBE_POWER_MANAGEMENT_EXTENSIONS 0x4F10
36#define VBE_FLAT_PANEL_INTERFACE_EXTENSIONS 0x4F11
37#define VBE_AUDIO_INTERFACE_EXTENSIONS 0x4F12
38#define VBE_OEM_EXTENSIONS 0x4F13
39#define VBE_DISPLAY_DATA_CHANNEL 0x4F14
46#define VBE_DDC_READ_EDID 0x01
47#define VBE_DDC_REPORT_CAPABILITIES 0x10
48#define VBE_DDC_BEGIN_SCL_SDA_CONTROL 0x11
49#define VBE_DDC_END_SCL_SDA_CONTROL 0x12
50#define VBE_DDC_WRITE_SCL_CLOCK_LINE 0x13
51#define VBE_DDC_WRITE_SDA_DATA_LINE 0x14
52#define VBE_DDC_READ_SCL_CLOCK_LINE 0x15
53#define VBE_DDC_READ_SDA_DATA_LINE 0x16
58#define VBE_MODEATTR_VALID 0x01
59#define VBE_MODEATTR_COLOR 0x08
60#define VBE_MODEATTR_GRAPHICS 0x10
61#define VBE_MODEATTR_NON_VGA 0x20
62#define VBE_MODEATTR_NO_BANK_SWITCH 0x40
63#define VBE_MODEATTR_LINEAR 0x80
65#define VBE_MODE_BITS 8
66#define VBE_MODE_RESERVED_1 0x200
67#define VBE_MODE_RESERVED_2 0x400
68#define VBE_MODE_REFRESH_CONTROL 0x800
69#define VBE_MODE_ACCELERATED_1 0x1000
70#define VBE_MODE_ACCELERATED_2 0x2000
71#define VBE_MODE_LINEAR_FRAMEBUFFER 0x4000
72#define VBE_MODE_PRESERVE_DISPLAY 0x8000
73#define VBE_MODE_MASK ((1 << (VBE_MODE_BITS + 1)) - 1)
75#define VBE_MEMORYMODEL_PACKEDPIXEL 0x04
76#define VBE_MEMORYMODEL_DIRECTCOLOR 0x06
82#define VBE_SUCCESS 0x4F
83#define VBE_UNSUCCESSFUL 0x14F
84#define VBE_NOT_SUPPORTED 0x24F
85#define VBE_FUNCTION_INVALID 0x34F
87#define VBE_GETRETURNCODE(x) (x & 0xFFFF)
219#define VBE2_MAGIC ('V' + ('B' << 8) + ('E' << 16) + ('2' << 24))
USHORT OemSoftwareRevision
UCHAR LinGreenFieldPosition
UCHAR BnkNumberOfImagePages
UCHAR LinNumberOfImagePages
USHORT LinBytesPerScanLine
UCHAR ReservedFieldPosition
UCHAR LinBlueFieldPosition
UCHAR LinReservedFieldPosition
UCHAR LinReservedMaskSize
UCHAR LinRedFieldPosition
UCHAR DirectColorModeInfo
struct _VBE_MODE_INFO VBE_MODE_INFO
struct _VBE_MODE_INFO * PVBE_MODE_INFO
struct _VBE_CONTROLLER_INFO * PVBE_CONTROLLER_INFO
struct _VBE_INFO VBE_INFO
struct _VBE_COLOR_REGISTER VBE_COLOR_REGISTER
VOID NTAPI InitializeModeTable(IN PHW_DEVICE_EXTENSION VgaExtension)
VP_STATUS NTAPI VbeSetMode(IN PHW_DEVICE_EXTENSION VgaDeviceExtension, IN PVIDEOMODE VgaMode, OUT PULONG PhysPtrChange)
BOOLEAN g_bIntelBrookdaleBIOS
struct _VBE_INFO * PVBE_INFO
BOOLEAN NTAPI ValidateVbeInfo(IN PHW_DEVICE_EXTENSION VgaExtension, IN PVBE_INFO VbeInfo)
struct _VBE_COLOR_REGISTER * PVBE_COLOR_REGISTER
struct _VBE_CONTROLLER_INFO VBE_CONTROLLER_INFO
VP_STATUS NTAPI VbeSetColorLookup(IN PHW_DEVICE_EXTENSION VgaExtension, IN PVIDEO_CLUT ClutBuffer)
_Reserved_ PVOID Reserved