30 PVOID HwDeviceExtension,
49 PVOID HwDeviceExtension,
68 PVOID HwDeviceExtension)
82 return BiosRegisters.
Edx;
87 PVOID HwDeviceExtension)
101 return BiosRegisters.
Edx;
124 BiosRegisters.
Ecx = ChildIndex;
131 if ((BiosRegisters.
Ebx & 0xF) != 0xF)
140 BiosRegisters.
Ecx = ChildIndex;
192 VBEDeviceExtension->Int10Interface.Int10CallBios(
193 VBEDeviceExtension->Int10Interface.Context,
197 if ((BiosRegisters.
Ebx & 3) == 0)
206 BiosRegisters.
Ecx = ChildIndex;
207 BiosRegisters.
Edi = VBEDeviceExtension->TrampolineMemoryOffset;
208 BiosRegisters.
SegEs = VBEDeviceExtension->TrampolineMemorySegment;
209 VBEDeviceExtension->Int10Interface.Int10CallBios(
210 VBEDeviceExtension->Int10Interface.Context,
219 VBEDeviceExtension->Int10Interface.Int10ReadMemory(
220 VBEDeviceExtension->Int10Interface.Context,
221 VBEDeviceExtension->TrampolineMemorySegment,
222 VBEDeviceExtension->TrampolineMemoryOffset,
244 if (ChildEnumInfo->ChildIndex == 0)
249 else if (ChildEnumInfo->ChildIndex == 1)
256 if (
VBEReadEdid(HwDeviceExtension, 0, pChildDescriptor))
#define ERROR_NO_MORE_DEVICES
#define ERROR_INVALID_FUNCTION
static BOOLEAN VBEReadEdid(IN PVBE_DEVICE_EXTENSION VBEDeviceExtension, IN ULONG ChildIndex, OUT PVOID Edid)
static VOID NTAPI VBEWriteClockLine(PVOID HwDeviceExtension, UCHAR data)
VP_STATUS NTAPI VBEGetVideoChildDescriptor(IN PVOID HwDeviceExtension, IN PVIDEO_CHILD_ENUM_INFO ChildEnumInfo, OUT PVIDEO_CHILD_TYPE VideoChildType, OUT PUCHAR pChildDescriptor, OUT PULONG UId, OUT PULONG pUnused)
static BOOLEAN VBEReadEdidUsingSCI(IN PVOID HwDeviceExtension, IN ULONG ChildIndex, OUT PVOID Edid)
static BOOLEAN NTAPI VBEReadClockLine(PVOID HwDeviceExtension)
static BOOLEAN NTAPI VBEReadDataLine(PVOID HwDeviceExtension)
static VOID NTAPI VBEWriteDataLine(PVOID HwDeviceExtension, UCHAR data)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
VPAPI VOID NTAPI VideoPortZeroMemory(IN PVOID Destination, IN ULONG Length)
VPAPI BOOLEAN NTAPI VideoPortDDCMonitorHelper(IN PVOID HwDeviceExtension, IN PVOID DDCControl, IN OUT PUCHAR EdidBuffer, IN ULONG EdidBufferSize)
VPAPI VOID __cdecl VideoPortDebugPrint(IN VIDEO_DEBUG_LEVEL DebugPrintLevel, IN PSTR DebugMessage, IN ...)
enum _VIDEO_CHILD_TYPE * PVIDEO_CHILD_TYPE
#define VIDEO_ENUM_MORE_DEVICES
struct _DDC_CONTROL DDC_CONTROL
VIDEO_PORT_INT10_INTERFACE Int10Interface
IN I2C_CALLBACKS I2CCallbacks
IN PVIDEO_READ_CLOCK_LINE ReadClockLine
IN PVIDEO_WRITE_DATA_LINE WriteDataLine
IN PVIDEO_READ_DATA_LINE ReadDataLine
IN PVIDEO_WRITE_CLOCK_LINE WriteClockLine
OUT PINT10_CALL_BIOS Int10CallBios
#define VBE_GETRETURNCODE(x)
#define VBE_DDC_READ_EDID
#define VBE_DDC_BEGIN_SCL_SDA_CONTROL
#define VBE_DDC_WRITE_SDA_DATA_LINE
#define VBE_DDC_REPORT_CAPABILITIES
#define VBE_DDC_READ_SDA_DATA_LINE
#define VBE_DDC_END_SCL_SDA_CONTROL
#define VBE_DDC_READ_SCL_CLOCK_LINE
#define VBE_DDC_WRITE_SCL_CLOCK_LINE
struct VBE_DEVICE_EXTENSION * PVBE_DEVICE_EXTENSION
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info