94 DPRINT(
"VMX searching for adapter\n");
103 DPRINT1(
"Invalid configuration info\n");
138 L"HardwareInformation.ChipType",
142 L"HardwareInformation.DacType",
146 L"HardwareInformation.MemorySize",
150 L"HardwareInformation.AdapterString",
154 L"HardwareInformation.BiosString",
159 ConfigInfo->NumEmulatorAccessEntries = 0;
160 ConfigInfo->EmulatorAccessEntries = 0;
161 ConfigInfo->EmulatorAccessEntriesContext = 0;
162 ConfigInfo->HardwareStateSize = 0;
163 ConfigInfo->VdmPhysicalVideoMemoryAddress.QuadPart = 0;
164 ConfigInfo->VdmPhysicalVideoMemoryLength = 0;
254 DPRINT(
"VMX-SVGAII Loading...\n");
struct _HW_DEVICE_EXTENSION HW_DEVICE_EXTENSION
static const COLUMN_LIST Columns[]
#define ERROR_DEV_NOT_EXIST
#define ERROR_INVALID_PARAMETER
DRIVER_INITIALIZE DriverEntry
_Must_inspect_result_ typedef _Out_ PHIDP_CAPS Capabilities
_Must_inspect_result_ _In_ PVOID _In_ struct _HW_INITIALIZATION_DATA _In_ PVOID HwContext
VPAPI VOID NTAPI VideoPortZeroMemory(IN PVOID Destination, IN ULONG Length)
struct _VIDEO_HW_INITIALIZATION_DATA VIDEO_HW_INITIALIZATION_DATA
VPAPI ULONG NTAPI VideoPortReadPortUlong(IN PULONG Port)
VPAPI VOID NTAPI VideoPortWritePortUlong(IN PULONG Port, IN ULONG Value)
VPAPI ULONG NTAPI VideoPortInitialize(IN PVOID Argument1, IN PVOID Argument2, IN PVIDEO_HW_INITIALIZATION_DATA HwInitializationData, IN PVOID HwContext)
VPAPI VP_STATUS NTAPI VideoPortCreateEvent(IN PVOID HwDeviceExtension, IN ULONG EventFlag, IN PVOID Unused, OUT PEVENT *ppEvent)
enum _VIDEO_CHILD_TYPE * PVIDEO_CHILD_TYPE
VPAPI VP_STATUS NTAPI VideoPortSetRegistryParameters(IN PVOID HwDeviceExtension, IN PWSTR ValueName, IN PVOID ValueData, IN ULONG ValueLength)
#define NOTIFICATION_EVENT
PHYSICAL_ADDRESS FrameBuffer
ULONG HwDeviceExtensionSize
PVIDEO_HW_FIND_ADAPTER HwFindAdapter
PVIDEO_HW_START_IO HwStartIO
PVIDEO_HW_POWER_SET HwSetPowerState
PVIDEO_HW_POWER_GET HwGetPowerState
PVIDEO_HW_INTERRUPT HwInterrupt
PVIDEO_HW_RESET_HW HwResetHw
PVIDEO_HW_GET_CHILD_DESCRIPTOR HwGetVideoChildDescriptor
INTERFACE_TYPE AdapterInterfaceType
PVIDEO_HW_INITIALIZE HwInitialize
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT Context1
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT _In_ PTDI_PNP_CONTEXT Context2
#define SVGA_MAX_DISPLAYS
#define SVGA_CAP_MULTIMON
#define SVGA_CAP_PITCHLOCK
VP_STATUS NTAPI VmxInitDevice(IN PHW_DEVICE_EXTENSION DeviceExtension)
BOOLEAN NTAPI VmxStartIO(IN PVOID HwDeviceExtension, IN PVIDEO_REQUEST_PACKET RequestPacket)
ULONG NTAPI VmxInitModes(IN PHW_DEVICE_EXTENSION DeviceExtension)
VP_STATUS NTAPI VmxGetVideoChildDescriptor(IN PVOID HwDeviceExtension, IN PVIDEO_CHILD_ENUM_INFO ChildEnumInfo, OUT PVIDEO_CHILD_TYPE VideoChildType, OUT PUCHAR pChildDescriptor, OUT PULONG UId, OUT PULONG pUnused)
BOOLEAN NTAPI VmxInterrupt(IN PVOID HwDeviceExtension)
BOOLEAN NTAPI VmxResetHw(IN PVOID DeviceExtension, IN ULONG Columns, IN ULONG Rows)
VOID NTAPI VmxWriteUlong(IN PHW_DEVICE_EXTENSION DeviceExtension, IN ULONG Index, IN ULONG Value)
PHW_DEVICE_EXTENSION VmxDeviceExtensionArray[SVGA_MAX_DISPLAYS]
VP_STATUS NTAPI VmxFindAdapter(IN PVOID HwDeviceExtension, IN PVOID HwContext, IN PWSTR ArgumentString, IN OUT PVIDEO_PORT_CONFIG_INFO ConfigInfo, OUT PUCHAR Again)
BOOLEAN NTAPI VmxIsMultiMon(IN PHW_DEVICE_EXTENSION DeviceExtension)
BOOLEAN NTAPI VmxInitialize(IN PVOID HwDeviceExtension)
ULONG NTAPI VmxReadUlong(IN PHW_DEVICE_EXTENSION DeviceExtension, IN ULONG Index)
static WCHAR AdapterString[]
VP_STATUS NTAPI VmxGetPowerState(IN PVOID HwDeviceExtension, IN ULONG HwId, IN PVIDEO_POWER_MANAGEMENT VideoPowerControl)
VP_STATUS NTAPI VmxSetPowerState(IN PVOID HwDeviceExtension, IN ULONG HwId, IN PVIDEO_POWER_MANAGEMENT VideoPowerControl)
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value