ReactOS  r75385
video.h File Reference
#include "ntddvdeo.h"
#include "videoagp.h"
Include dependency graph for video.h:

Go to the source code of this file.

Classes

struct  _VIDEO_PORT_CONFIG_INFO
 
struct  _VIDEO_ACCESS_RANGE
 
struct  _VP_SCATTER_GATHER_ELEMENT
 
struct  _VP_SCATTER_GATHER_LIST
 
struct  _VIDEO_CHILD_ENUM_INFO
 
struct  _QUERY_INTERFACE
 
struct  _STATUS_BLOCK
 
struct  _VIDEO_REQUEST_PACKET
 
struct  _I2C_CALLBACKS
 
struct  _VIDEO_I2C_CONTROL
 
struct  _INT10_BIOS_ARGUMENTS
 
struct  _VIDEO_HARDWARE_CONFIGURATION_DATA
 
struct  _VIDEO_X86_BIOS_ARGUMENTS
 
struct  __VRB_SG
 
struct  _VP_DEVICE_DESCRIPTION
 
struct  _VIDEO_CHILD_STATE
 
struct  _VIDEO_CHILD_STATE_CONFIGURATION
 
struct  _VIDEO_HW_INITIALIZATION_DATA
 
struct  _I2C_FNC_TABLE
 
struct  _DDC_CONTROL
 
struct  _VIDEO_PORT_AGP_INTERFACE
 
struct  _VIDEO_PORT_AGP_INTERFACE_2
 
struct  _VIDEO_PORT_I2C_INTERFACE
 
struct  _VIDEO_PORT_I2C_INTERFACE_2
 
struct  _VIDEO_PORT_INT10_INTERFACE
 
struct  _VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE
 
struct  _VPOSVERSIONINFO
 
struct  _VIDEO_PORT_DEBUG_REPORT_INTERFACE
 

Macros

#define __VIDEO_H__
 
#define VPAPI   DECLSPEC_IMPORT
 
#define PAGED_CODE()
 
#define VideoDebugPrint(x)
 
#define GET_VIDEO_PHYSICAL_ADDRESS(scatterList,VirtualAddress,InputBuffer,pLength,Address)
 
#define GET_VIDEO_SCATTERGATHER(ppDma)   (**(PVRB_SG **)ppDma)
 
#define VIDEO_RANGE_PASSIVE_DECODE   1
 
#define VIDEO_RANGE_10_BIT_DECODE   2
 
#define SIZE_OF_NT4_VIDEO_PORT_CONFIG_INFO   FIELD_OFFSET(VIDEO_PORT_CONFIG_INFO, Master)
 
#define SIZE_OF_WXP_VIDEO_PORT_CONFIG_INFO   sizeof(VIDEO_PORT_CONFIG_INFO)
 
#define SET_USER_EVENT   0x01
 
#define SET_DISPLAY_EVENT   0x02
 
#define EVENT_TYPE_MASK   1
 
#define SYNCHRONIZATION_EVENT   0
 
#define NOTIFICATION_EVENT   1
 
#define INITIAL_EVENT_STATE_MASK   2
 
#define INITIAL_EVENT_NOT_SIGNALED   0
 
#define INITIAL_EVENT_SIGNALED   2
 
#define DISPLAY_ADAPTER_HW_ID   0xFFFFFFFF
 
#define VIDEO_INVALID_CHILD_ID   0xFFFFFFFF
 
#define SIZE_OF_NT4_VIDEO_HW_INITIALIZATION_DATA   FIELD_OFFSET(VIDEO_HW_INITIALIZATION_DATA, HwStartDma)
 
#define SIZE_OF_W2K_VIDEO_HW_INITIALIZATION_DATA   FIELD_OFFSET(VIDEO_HW_INITIALIZATION_DATA, Reserved)
 
#define SIZE_OF_WXP_VIDEO_HW_INITIALIZATION_DATA   (SIZE_OF_W2K_VIDEO_HW_INITIALIZATION_DATA + sizeof(ULONG))
 
#define VIDEO_PORT_AGP_INTERFACE_VERSION_1   1
 
#define VIDEO_PORT_AGP_INTERFACE_VERSION_2   2
 
#define VIDEO_PORT_I2C_INTERFACE_VERSION_1   1
 
#define VIDEO_PORT_I2C_INTERFACE_VERSION_2   2
 
#define VIDEO_PORT_INT10_INTERFACE_VERSION_1   1
 
#define VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE_VERSION_1   1
 
#define VIDEO_PORT_DEBUG_REPORT_INTERFACE_VERSION_1   1
 
#define VIDEO_MEMORY_SPACE_MEMORY   0x00
 
#define VIDEO_MEMORY_SPACE_IO   0x01
 
#define VIDEO_MEMORY_SPACE_USER_MODE   0x02
 
#define VIDEO_MEMORY_SPACE_DENSE   0x04
 
#define VIDEO_MEMORY_SPACE_P6CACHE   0x08
 
#define VIDEO_ENUM_MORE_DEVICES   ERROR_CONTINUE
 
#define VIDEO_ENUM_NO_MORE_DEVICES   ERROR_NO_MORE_DEVICES
 
#define VIDEO_ENUM_INVALID_DEVICE   ERROR_INVALID_NAME
 
#define DEVICE_VGA_ENABLED   1
 
#define CDE_USE_SUBSYSTEM_IDS   0x00000001
 
#define CDE_USE_REVISION   0x00000002
 
#define BUGCHECK_DATA_SIZE_RESERVED   48
 
#define VIDEO_DEBUG_REPORT_MAX_SIZE   0x8000
 

Typedefs

typedef LONG VP_STATUS
 
typedef LONGPVP_STATUS
 
typedef ULONG DMA_EVENT_FLAGS
 
typedef struct
_VIDEO_PORT_SPIN_LOCK * 
PSPIN_LOCK
 
typedef struct
_VIDEO_DEBUG_REPORT * 
PVIDEO_DEBUG_REPORT
 
typedef struct __DMA_PARAMETERS * PDMA
 
typedef struct __VP_DMA_ADAPTER * PVP_DMA_ADAPTER
 
typedef PVOID(NTAPIPVIDEO_PORT_GET_PROC_ADDRESS )(IN PVOID HwDeviceExtension, IN PUCHAR FunctionName)
 
typedef struct
_VIDEO_PORT_CONFIG_INFO 
VIDEO_PORT_CONFIG_INFO
 
typedef struct
_VIDEO_PORT_CONFIG_INFO
PVIDEO_PORT_CONFIG_INFO
 
typedef VP_STATUS(NTAPIPVIDEO_HW_FIND_ADAPTER )(IN PVOID HwDeviceExtension, IN PVOID HwContext, IN PWSTR ArgumentString, IN OUT PVIDEO_PORT_CONFIG_INFO ConfigInfo, OUT PUCHAR Again)
 
typedef BOOLEAN(NTAPIPVIDEO_HW_INITIALIZE )(IN PVOID HwDeviceExtension)
 
typedef BOOLEAN(NTAPIPVIDEO_HW_INTERRUPT )(IN PVOID HwDeviceExtension)
 
typedef struct _VIDEO_ACCESS_RANGE VIDEO_ACCESS_RANGE
 
typedef struct
_VIDEO_ACCESS_RANGE
PVIDEO_ACCESS_RANGE
 
typedef VOID(NTAPIPVIDEO_HW_LEGACYRESOURCES )(IN ULONG VendorId, IN ULONG DeviceId, IN OUT PVIDEO_ACCESS_RANGE *LegacyResourceList, IN OUT PULONG LegacyResourceCount)
 
typedef enum _HW_DMA_RETURN HW_DMA_RETURN
 
typedef enum _HW_DMA_RETURNPHW_DMA_RETURN
 
typedef HW_DMA_RETURN(NTAPIPVIDEO_HW_START_DMA )(PVOID HwDeviceExtension, PDMA pDma)
 
typedef struct
_VP_SCATTER_GATHER_ELEMENT 
VP_SCATTER_GATHER_ELEMENT
 
typedef struct
_VP_SCATTER_GATHER_ELEMENT
PVP_SCATTER_GATHER_ELEMENT
 
typedef struct
_VP_SCATTER_GATHER_LIST 
VP_SCATTER_GATHER_LIST
 
typedef struct
_VP_SCATTER_GATHER_LIST
PVP_SCATTER_GATHER_LIST
 
typedef VOID(NTAPIPEXECUTE_DMA )(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN PVP_SCATTER_GATHER_LIST SGList, IN PVOID Context)
 
typedef struct
_VIDEO_CHILD_ENUM_INFO 
VIDEO_CHILD_ENUM_INFO
 
typedef struct
_VIDEO_CHILD_ENUM_INFO
PVIDEO_CHILD_ENUM_INFO
 
typedef enum _VIDEO_CHILD_TYPE VIDEO_CHILD_TYPE
 
typedef enum _VIDEO_CHILD_TYPEPVIDEO_CHILD_TYPE
 
typedef VP_STATUS(NTAPIPVIDEO_HW_GET_CHILD_DESCRIPTOR )(IN PVOID HwDeviceExtension, IN PVIDEO_CHILD_ENUM_INFO ChildEnumInfo, OUT PVIDEO_CHILD_TYPE VideoChildType, OUT PUCHAR pChildDescriptor, OUT PULONG UId, OUT PULONG pUnused)
 
typedef VP_STATUS(NTAPIPVIDEO_HW_POWER_SET )(IN PVOID HwDeviceExtension, IN ULONG HwId, IN PVIDEO_POWER_MANAGEMENT VideoPowerControl)
 
typedef VP_STATUS(NTAPIPVIDEO_HW_POWER_GET )(IN PVOID HwDeviceExtension, IN ULONG HwId, IN OUT PVIDEO_POWER_MANAGEMENT VideoPowerControl)
 
typedef struct _QUERY_INTERFACE QUERY_INTERFACE
 
typedef struct _QUERY_INTERFACEPQUERY_INTERFACE
 
typedef VP_STATUS(NTAPIPVIDEO_HW_QUERY_INTERFACE )(IN PVOID HwDeviceExtension, IN OUT PQUERY_INTERFACE QueryInterface)
 
typedef VP_STATUS(NTAPIPVIDEO_HW_CHILD_CALLBACK )(PVOID HwDeviceExtension, PVOID ChildDeviceExtension)
 
typedef BOOLEAN(NTAPIPVIDEO_HW_RESET_HW )(IN PVOID HwDeviceExtension, IN ULONG Columns, IN ULONG Rows)
 
typedef struct _STATUS_BLOCK STATUS_BLOCK
 
typedef struct _STATUS_BLOCKPSTATUS_BLOCK
 
typedef struct
_VIDEO_REQUEST_PACKET 
VIDEO_REQUEST_PACKET
 
typedef struct
_VIDEO_REQUEST_PACKET
PVIDEO_REQUEST_PACKET
 
typedef BOOLEAN(NTAPIPVIDEO_HW_START_IO )(IN PVOID HwDeviceExtension, IN PVIDEO_REQUEST_PACKET RequestPacket)
 
typedef VOID(NTAPIPVIDEO_HW_TIMER )(IN PVOID HwDeviceExtension)
 
typedef VOID(NTAPIPVIDEO_WRITE_CLOCK_LINE )(PVOID HwDeviceExtension, UCHAR Data)
 
typedef VOID(NTAPIPVIDEO_WRITE_DATA_LINE )(PVOID HwDeviceExtension, UCHAR Data)
 
typedef BOOLEAN(NTAPIPVIDEO_READ_CLOCK_LINE )(PVOID HwDeviceExtension)
 
typedef BOOLEAN(NTAPIPVIDEO_READ_DATA_LINE )(PVOID HwDeviceExtension)
 
typedef VOID(NTAPIPVIDEO_WAIT_VSYNC_ACTIVE )(PVOID HwDeviceExtension)
 
typedef struct _I2C_CALLBACKS I2C_CALLBACKS
 
typedef struct _I2C_CALLBACKSPI2C_CALLBACKS
 
typedef BOOLEAN(NTAPIPI2C_START )(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks)
 
typedef BOOLEAN(NTAPIPI2C_STOP )(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks)
 
typedef BOOLEAN(NTAPIPI2C_WRITE )(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks, IN PUCHAR Buffer, IN ULONG Length)
 
typedef BOOLEAN(NTAPIPI2C_READ )(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks, OUT PUCHAR Buffer, IN ULONG Length)
 
typedef struct _VIDEO_I2C_CONTROL VIDEO_I2C_CONTROL
 
typedef struct _VIDEO_I2C_CONTROLPVIDEO_I2C_CONTROL
 
typedef BOOLEAN(NTAPIPI2C_START_2 )(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl)
 
typedef BOOLEAN(NTAPIPI2C_STOP_2 )(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl)
 
typedef BOOLEAN(NTAPIPI2C_WRITE_2 )(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl, IN PUCHAR Buffer, IN ULONG Length)
 
typedef BOOLEAN(NTAPIPI2C_READ_2 )(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl, OUT PUCHAR Buffer, IN ULONG Length, IN BOOLEAN EndOfRead)
 
typedef struct
_INT10_BIOS_ARGUMENTS 
INT10_BIOS_ARGUMENTS
 
typedef struct
_INT10_BIOS_ARGUMENTS
PINT10_BIOS_ARGUMENTS
 
typedef VP_STATUS(NTAPIPINT10_CALL_BIOS )(IN PVOID Context, IN OUT PINT10_BIOS_ARGUMENTS BiosArguments)
 
typedef VP_STATUS(NTAPIPINT10_ALLOCATE_BUFFER )(IN PVOID Context, OUT PUSHORT Seg, OUT PUSHORT Off, IN OUT PULONG Length)
 
typedef VP_STATUS(NTAPIPINT10_FREE_BUFFER )(IN PVOID Context, IN USHORT Seg, IN USHORT Off)
 
typedef VP_STATUS(NTAPIPINT10_READ_MEMORY )(IN PVOID Context, IN USHORT Seg, IN USHORT Off, OUT PVOID Buffer, IN ULONG Length)
 
typedef VP_STATUS(NTAPIPINT10_WRITE_MEMORY )(IN PVOID Context, IN USHORT Seg, IN USHORT Off, IN PVOID Buffer, IN ULONG Length)
 
typedef VP_STATUS(NTAPIPROTECT_WC_MEMORY )(IN PVOID Context, IN PVOID HwDeviceExtension)
 
typedef VP_STATUS(NTAPIRESTORE_WC_MEMORY )(IN PVOID Context, IN PVOID HwDeviceExtension)
 
typedef enum
_VIDEO_DEVICE_DATA_TYPE 
VIDEO_DEVICE_DATA_TYPE
 
typedef enum
_VIDEO_DEVICE_DATA_TYPE
PVIDEO_DEVICE_DATA_TYPE
 
typedef VP_STATUS(NTAPIPMINIPORT_QUERY_DEVICE_ROUTINE )(IN PVOID HwDeviceExtension, IN PVOID Context, IN VIDEO_DEVICE_DATA_TYPE DeviceDataType, IN PVOID Identifier, IN ULONG IdentifierLength, IN PVOID ConfigurationData, IN ULONG ConfigurationDataLength, IN OUT PVOID ComponentInformation, IN ULONG ComponentInformationLength)
 
typedef VP_STATUS(NTAPIPMINIPORT_GET_REGISTRY_ROUTINE )(IN PVOID HwDeviceExtension, IN PVOID Context, IN OUT PWSTR ValueName, IN OUT PVOID ValueData, IN ULONG ValueLength)
 
typedef VOID(NTAPIPMINIPORT_DPC_ROUTINE )(IN PVOID HwDeviceExtension, IN PVOID Context)
 
typedef BOOLEAN(NTAPIPMINIPORT_SYNCHRONIZE_ROUTINE )(IN PVOID Context)
 
typedef VOID(NTAPIPVIDEO_BUGCHECK_CALLBACK )(IN PVOID HwDeviceExtension, IN ULONG BugcheckCode, IN PUCHAR Buffer, IN ULONG BufferSize)
 
typedef enum
VIDEO_SYNCHRONIZE_PRIORITY 
VIDEO_SYNCHRONIZE_PRIORITY
 
typedef enum
VIDEO_SYNCHRONIZE_PRIORITY
PVIDEO_SYNCHRONIZE_PRIORITY
 
typedef enum _VP_POOL_TYPE VP_POOL_TYPE
 
typedef enum _VP_POOL_TYPEPVP_POOL_TYPE
 
typedef enum _DMA_FLAGS DMA_FLAGS
 
typedef struct
_VIDEO_HARDWARE_CONFIGURATION_DATA 
VIDEO_HARDWARE_CONFIGURATION_DATA
 
typedef struct
_VIDEO_HARDWARE_CONFIGURATION_DATA
PVIDEO_HARDWARE_CONFIGURATION_DATA
 
typedef struct
_VIDEO_X86_BIOS_ARGUMENTS 
VIDEO_X86_BIOS_ARGUMENTS
 
typedef struct
_VIDEO_X86_BIOS_ARGUMENTS
PVIDEO_X86_BIOS_ARGUMENTS
 
typedef enum VIDEO_DEBUG_LEVEL VIDEO_DEBUG_LEVEL
 
typedef enum VIDEO_DEBUG_LEVELPVIDEO_DEBUG_LEVEL
 
typedef VP_STATUS(NTAPIPDRIVER_IO_PORT_UCHAR )(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUCHAR Data)
 
typedef VP_STATUS(NTAPIPDRIVER_IO_PORT_UCHAR_STRING )(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUCHAR Data, IN ULONG DataLength)
 
typedef VP_STATUS(NTAPIPDRIVER_IO_PORT_ULONG )(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PULONG Data)
 
typedef VP_STATUS(NTAPIPDRIVER_IO_PORT_ULONG_STRING )(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PULONG Data, IN ULONG DataLength)
 
typedef VP_STATUS(NTAPIPDRIVER_IO_PORT_USHORT )(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUSHORT Data)
 
typedef VP_STATUS(NTAPIPDRIVER_IO_PORT_USHORT_STRING )(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUSHORT Data, IN ULONG DataLength)
 
typedef struct __VRB_SG VRB_SG
 
typedef struct __VRB_SGPVRB_SG
 
typedef enum _VP_LOCK_OPERATION VP_LOCK_OPERATION
 
typedef struct
_VP_DEVICE_DESCRIPTION 
VP_DEVICE_DESCRIPTION
 
typedef struct
_VP_DEVICE_DESCRIPTION
PVP_DEVICE_DESCRIPTION
 
typedef struct _VIDEO_CHILD_STATE VIDEO_CHILD_STATE
 
typedef struct _VIDEO_CHILD_STATEPVIDEO_CHILD_STATE
 
typedef struct
_VIDEO_CHILD_STATE_CONFIGURATION 
VIDEO_CHILD_STATE_CONFIGURATION
 
typedef struct
_VIDEO_CHILD_STATE_CONFIGURATION
PVIDEO_CHILD_STATE_CONFIGURATION
 
typedef struct
_VIDEO_HW_INITIALIZATION_DATA 
VIDEO_HW_INITIALIZATION_DATA
 
typedef struct
_VIDEO_HW_INITIALIZATION_DATA
PVIDEO_HW_INITIALIZATION_DATA
 
typedef struct _I2C_FNC_TABLE I2C_FNC_TABLE
 
typedef struct _I2C_FNC_TABLEPI2C_FNC_TABLE
 
typedef struct _DDC_CONTROL DDC_CONTROL
 
typedef struct _DDC_CONTROLPDDC_CONTROL
 
typedef enum _VIDEO_PORT_SERVICES VIDEO_PORT_SERVICES
 
typedef struct
_VIDEO_PORT_AGP_INTERFACE 
VIDEO_PORT_AGP_INTERFACE
 
typedef struct
_VIDEO_PORT_AGP_INTERFACE
PVIDEO_PORT_AGP_INTERFACE
 
typedef struct
_VIDEO_PORT_AGP_INTERFACE_2 
VIDEO_PORT_AGP_INTERFACE_2
 
typedef struct
_VIDEO_PORT_AGP_INTERFACE_2
PVIDEO_PORT_AGP_INTERFACE_2
 
typedef struct
_VIDEO_PORT_I2C_INTERFACE 
VIDEO_PORT_I2C_INTERFACE
 
typedef struct
_VIDEO_PORT_I2C_INTERFACE
PVIDEO_PORT_I2C_INTERFACE
 
typedef struct
_VIDEO_PORT_I2C_INTERFACE_2 
VIDEO_PORT_I2C_INTERFACE_2
 
typedef struct
_VIDEO_PORT_I2C_INTERFACE_2
PVIDEO_PORT_I2C_INTERFACE_2
 
typedef struct
_VIDEO_PORT_INT10_INTERFACE 
VIDEO_PORT_INT10_INTERFACE
 
typedef struct
_VIDEO_PORT_INT10_INTERFACE
PVIDEO_PORT_INT10_INTERFACE
 
typedef struct
_VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE 
VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE
 
typedef struct
_VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE
PVIDEO_PORT_WCMEMORYPROTECTION_INTERFACE
 
typedef struct _VPOSVERSIONINFO VPOSVERSIONINFO
 
typedef struct _VPOSVERSIONINFOPVPOSVERSIONINFO
 
typedef struct
_VIDEO_PORT_DEBUG_REPORT_INTERFACE 
VIDEO_PORT_DEBUG_REPORT_INTERFACE
 
typedef struct
_VIDEO_PORT_DEBUG_REPORT_INTERFACE
PVIDEO_PORT_DEBUG_REPORT_INTERFACE
 

Enumerations

enum  _HW_DMA_RETURN { DmaAsyncReturn, DmaSyncReturn }
 
enum  _VIDEO_CHILD_TYPE { Monitor = 1, NonPrimaryChip, VideoChip, Other }
 
enum  _VIDEO_DEVICE_DATA_TYPE {
  VpMachineData = 0, VpCmosData, VpBusData, VpControllerData,
  VpMonitorData
}
 
enum  VIDEO_SYNCHRONIZE_PRIORITY { VpLowPriority = 0, VpMediumPriority, VpHighPriority }
 
enum  _VP_POOL_TYPE { VpNonPagedPool = 0, VpPagedPool, VpNonPagedPoolCacheAligned = 4, VpPagedPoolCacheAligned }
 
enum  _DMA_FLAGS { VideoPortUnlockAfterDma = 1, VideoPortKeepPagesLocked, VideoPortDmaInitOnly }
 
enum  VIDEO_DEBUG_LEVEL { Error = 0, Warn, Trace, Info }
 
enum  _VP_LOCK_OPERATION { VpReadAccess = 0, VpWriteAccess, VpModifyAccess }
 
enum  _VIDEO_PORT_SERVICES {
  VideoPortServicesAGP = 1, VideoPortServicesI2C, VideoPortServicesHeadless, VideoPortServicesInt10,
  VideoPortServicesDebugReport, VideoPortServicesWCMemoryProtection
}
 

Functions

ULONG NTAPI DriverEntry (PVOID Context1, PVOID Context2)
 
VPAPI VP_STATUS NTAPI VideoPortAllocateBuffer (IN PVOID HwDeviceExtension, IN ULONG Size, OUT PVOID *Buffer)
 
VPAPI VOID NTAPI VideoPortAcquireDeviceLock (IN PVOID HwDeviceExtension)
 
VPAPI ULONG NTAPI VideoPortCompareMemory (IN PVOID Source1, IN PVOID Source2, IN SIZE_T 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...)
 
VPAPI VP_STATUS NTAPI VideoPortDisableInterrupt (IN PVOID HwDeviceExtension)
 
VPAPI VP_STATUS NTAPI VideoPortEnableInterrupt (IN PVOID HwDeviceExtension)
 
VPAPI VP_STATUS NTAPI VideoPortEnumerateChildren (IN PVOID HwDeviceExtension, IN PVOID Reserved)
 
VPAPI VOID NTAPI VideoPortFreeDeviceBase (IN PVOID HwDeviceExtension, IN PVOID MappedAddress)
 
VPAPI VP_STATUS NTAPI VideoPortGetAccessRanges (IN PVOID HwDeviceExtension, IN ULONG NumRequestedResources, IN PIO_RESOURCE_DESCRIPTOR RequestedResources OPTIONAL, IN ULONG NumAccessRanges, OUT PVIDEO_ACCESS_RANGE AccessRanges, IN PVOID VendorId, IN PVOID DeviceId, OUT PULONG Slot)
 
VPAPI PVOID NTAPI VideoPortGetAssociatedDeviceExtension (IN PVOID DeviceObject)
 
VPAPI ULONG NTAPI VideoPortGetBusData (IN PVOID HwDeviceExtension, IN BUS_DATA_TYPE BusDataType, IN ULONG SlotNumber, IN OUT PVOID Buffer, IN ULONG Offset, IN ULONG Length)
 
VPAPI UCHAR NTAPI VideoPortGetCurrentIrql (VOID)
 
VPAPI PVOID NTAPI VideoPortGetDeviceBase (IN PVOID HwDeviceExtension, IN PHYSICAL_ADDRESS IoAddress, IN ULONG NumberOfUchars, IN UCHAR InIoSpace)
 
VPAPI VP_STATUS NTAPI VideoPortGetDeviceData (IN PVOID HwDeviceExtension, IN VIDEO_DEVICE_DATA_TYPE DeviceDataType, IN PMINIPORT_QUERY_DEVICE_ROUTINE CallbackRoutine, IN PVOID Context)
 
VPAPI VP_STATUS NTAPI VideoPortGetRegistryParameters (IN PVOID HwDeviceExtension, IN PWSTR ParameterName, IN UCHAR IsParameterFileName, IN PMINIPORT_GET_REGISTRY_ROUTINE CallbackRoutine, IN PVOID Context)
 
VPAPI PVOID NTAPI VideoPortGetRomImage (IN PVOID HwDeviceExtension, IN PVOID Unused1, IN ULONG Unused2, IN ULONG Length)
 
VPAPI VP_STATUS NTAPI VideoPortGetVgaStatus (IN PVOID HwDeviceExtension, OUT PULONG VgaStatus)
 
VPAPI LONG FASTCALL VideoPortInterlockedDecrement (IN PLONG Addend)
 
VPAPI LONG FASTCALL VideoPortInterlockedExchange (IN OUT PLONG Target, IN LONG Value)
 
VPAPI LONG FASTCALL VideoPortInterlockedIncrement (IN PLONG Addend)
 
VPAPI ULONG NTAPI VideoPortInitialize (IN PVOID Argument1, IN PVOID Argument2, IN PVIDEO_HW_INITIALIZATION_DATA HwInitializationData, IN PVOID HwContext)
 
VPAPI VP_STATUS NTAPI VideoPortInt10 (IN PVOID HwDeviceExtension, IN PVIDEO_X86_BIOS_ARGUMENTS BiosArguments)
 
VPAPI VOID NTAPI VideoPortLogError (IN PVOID HwDeviceExtension, IN PVIDEO_REQUEST_PACKET Vrp OPTIONAL, IN VP_STATUS ErrorCode, IN ULONG UniqueId)
 
VPAPI VP_STATUS NTAPI VideoPortMapBankedMemory (IN PVOID HwDeviceExtension, IN PHYSICAL_ADDRESS PhysicalAddress, IN OUT PULONG Length, PULONG InIoSpace, PVOID *VirtualAddress, ULONG BankLength, UCHAR ReadWriteBank, PBANKED_SECTION_ROUTINE BankRoutine, PVOID Context)
 
VPAPI VP_STATUS NTAPI VideoPortMapMemory (IN PVOID HwDeviceExtension, IN PHYSICAL_ADDRESS PhysicalAddress, IN OUT PULONG Length, IN PULONG InIoSpace, IN OUT PVOID *VirtualAddress)
 
VPAPI VOID NTAPI VideoPortMoveMemory (IN PVOID Destination, IN PVOID Source, IN ULONG Length)
 
VPAPI LONGLONG NTAPI VideoPortQueryPerformanceCounter (IN PVOID HwDeviceExtension, OUT PLONGLONG PerformanceFrequency OPTIONAL)
 
VPAPI VP_STATUS NTAPI VideoPortQueryServices (IN PVOID HwDeviceExtension, IN VIDEO_PORT_SERVICES ServicesType, IN OUT PINTERFACE Interface)
 
VPAPI BOOLEAN NTAPI VideoPortQueueDpc (IN PVOID HwDeviceExtension, IN PMINIPORT_DPC_ROUTINE CallbackRoutine, IN PVOID Context)
 
VPAPI VOID NTAPI VideoPortReadPortBufferUchar (IN PUCHAR Port, OUT PUCHAR Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortReadPortBufferUlong (IN PULONG Port, OUT PULONG Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortReadPortBufferUshort (IN PUSHORT Port, OUT PUSHORT Buffer, IN ULONG Count)
 
VPAPI UCHAR NTAPI VideoPortReadPortUchar (IN PUCHAR Port)
 
VPAPI ULONG NTAPI VideoPortReadPortUlong (IN PULONG Port)
 
VPAPI USHORT NTAPI VideoPortReadPortUshort (IN PUSHORT Port)
 
VPAPI VOID NTAPI VideoPortReadRegisterBufferUchar (IN PUCHAR Register, OUT PUCHAR Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortReadRegisterBufferUlong (IN PULONG Register, OUT PULONG Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortReadRegisterBufferUshort (IN PUSHORT Register, OUT PUSHORT Buffer, IN ULONG Count)
 
VPAPI UCHAR NTAPI VideoPortReadRegisterUchar (IN PUCHAR Register)
 
VPAPI ULONG NTAPI VideoPortReadRegisterUlong (IN PULONG Register)
 
VPAPI USHORT NTAPI VideoPortReadRegisterUshort (IN PUSHORT Register)
 
VPAPI VOID NTAPI VideoPortReleaseBuffer (IN PVOID HwDeviceExtension, IN PVOID Buffer)
 
VPAPI VOID NTAPI VideoPortReleaseDeviceLock (IN PVOID HwDeviceExtension)
 
VPAPI BOOLEAN NTAPI VideoPortScanRom (PVOID HwDeviceExtension, PUCHAR RomBase, ULONG RomLength, PUCHAR String)
 
VPAPI ULONG NTAPI VideoPortSetBusData (IN PVOID HwDeviceExtension, IN BUS_DATA_TYPE BusDataType, IN ULONG SlotNumber, IN PVOID Buffer, IN ULONG Offset, IN ULONG Length)
 
VPAPI VP_STATUS NTAPI VideoPortSetRegistryParameters (IN PVOID HwDeviceExtension, IN PWSTR ValueName, IN PVOID ValueData, IN ULONG ValueLength)
 
VPAPI VP_STATUS NTAPI VideoPortSetTrappedEmulatorPorts (IN PVOID HwDeviceExtension, IN ULONG NumAccessRanges, IN PVIDEO_ACCESS_RANGE AccessRange)
 
VPAPI VOID NTAPI VideoPortStallExecution (IN ULONG Microseconds)
 
VPAPI VOID NTAPI VideoPortStartTimer (IN PVOID HwDeviceExtension)
 
VPAPI VOID NTAPI VideoPortStopTimer (IN PVOID HwDeviceExtension)
 
VPAPI BOOLEAN NTAPI VideoPortSynchronizeExecution (IN PVOID HwDeviceExtension, IN VIDEO_SYNCHRONIZE_PRIORITY Priority, IN PMINIPORT_SYNCHRONIZE_ROUTINE SynchronizeRoutine, IN PVOID Context)
 
VPAPI VP_STATUS NTAPI VideoPortUnmapMemory (IN PVOID HwDeviceExtension, IN OUT PVOID VirtualAddress, IN HANDLE ProcessHandle)
 
VPAPI VP_STATUS NTAPI VideoPortVerifyAccessRanges (IN PVOID HwDeviceExtension, IN ULONG NumAccessRanges, IN PVIDEO_ACCESS_RANGE AccessRanges)
 
VPAPI VOID NTAPI VideoPortWritePortBufferUchar (IN PUCHAR Port, IN PUCHAR Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortWritePortBufferUlong (IN PULONG Port, IN PULONG Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortWritePortBufferUshort (IN PUSHORT Port, IN PUSHORT Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortWritePortUchar (IN PUCHAR Port, IN UCHAR Value)
 
VPAPI VOID NTAPI VideoPortWritePortUlong (IN PULONG Port, IN ULONG Value)
 
VPAPI VOID NTAPI VideoPortWritePortUshort (IN PUSHORT Port, IN USHORT Value)
 
VPAPI VOID NTAPI VideoPortWriteRegisterBufferUchar (IN PUCHAR Register, IN PUCHAR Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortWriteRegisterBufferUlong (IN PULONG Register, IN PULONG Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortWriteRegisterBufferUshort (IN PUSHORT Register, IN PUSHORT Buffer, IN ULONG Count)
 
VPAPI VOID NTAPI VideoPortWriteRegisterUchar (IN PUCHAR Register, IN UCHAR Value)
 
VPAPI VOID NTAPI VideoPortWriteRegisterUlong (IN PULONG Register, IN ULONG Value)
 
VPAPI VOID NTAPI VideoPortWriteRegisterUshort (IN PUSHORT Register, IN USHORT Value)
 
VPAPI VOID NTAPI VideoPortZeroDeviceMemory (IN PVOID Destination, IN ULONG Length)
 
VPAPI VOID NTAPI VideoPortZeroMemory (IN PVOID Destination, IN ULONG Length)
 
VPAPI PVOID NTAPI VideoPortAllocateContiguousMemory (IN PVOID HwDeviceExtension, IN ULONG NumberOfBytes, IN PHYSICAL_ADDRESS HighestAcceptableAddress)
 
VPAPI PVOID NTAPI VideoPortGetCommonBuffer (IN PVOID HwDeviceExtension, IN ULONG DesiredLength, IN ULONG Alignment, OUT PPHYSICAL_ADDRESS LogicalAddress, OUT PULONG pActualLength, IN BOOLEAN CacheEnabled)
 
VPAPI VOID NTAPI VideoPortFreeCommonBuffer (IN PVOID HwDeviceExtension, IN ULONG Length, IN PVOID VirtualAddress, IN PHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled)
 
VPAPI PDMA NTAPI VideoPortDoDma (IN PVOID HwDeviceExtension, IN PDMA pDma, IN DMA_FLAGS DmaFlags)
 
VPAPI BOOLEAN NTAPI VideoPortLockPages (IN PVOID HwDeviceExtension, IN OUT PVIDEO_REQUEST_PACKET pVrp, IN OUT PEVENT pUEvent, IN PEVENT pDisplayEvent, IN DMA_FLAGS DmaFlags)
 
VPAPI BOOLEAN NTAPI VideoPortUnlockPages (IN PVOID hwDeviceExtension, IN OUT PDMA pDma)
 
VPAPI BOOLEAN NTAPI VideoPortSignalDmaComplete (IN PVOID HwDeviceExtension, IN PDMA pDmaHandle)
 
VPAPI PVOID NTAPI VideoPortGetMdl (IN PVOID HwDeviceExtension, IN PDMA pDma)
 
VPAPI PVOID NTAPI VideoPortGetDmaContext (IN PVOID HwDeviceExtension, IN PDMA pDma)
 
VPAPI VOID NTAPI VideoPortSetDmaContext (IN PVOID HwDeviceExtension, OUT PDMA pDma, IN PVOID InstanceContext)
 
VPAPI ULONG NTAPI VideoPortGetBytesUsed (IN PVOID HwDeviceExtension, IN PDMA pDma)
 
VPAPI VOID NTAPI VideoPortSetBytesUsed (IN PVOID HwDeviceExtension, IN OUT PDMA pDma, IN ULONG BytesUsed)
 
VPAPI PDMA NTAPI VideoPortAssociateEventsWithDmaHandle (IN PVOID HwDeviceExtension, IN OUT PVIDEO_REQUEST_PACKET pVrp, IN PVOID MappedUserEvent, IN PVOID DisplayDriverEvent)
 
VPAPI PDMA NTAPI VideoPortMapDmaMemory (IN PVOID HwDeviceExtension, IN PVIDEO_REQUEST_PACKET pVrp, IN PHYSICAL_ADDRESS BoardAddress, IN PULONG Length, IN PULONG InIoSpace, IN PVOID MappedUserEvent, IN PVOID DisplayDriverEvent, IN OUT PVOID *VirtualAddress)
 
VPAPI BOOLEAN NTAPI VideoPortUnmapDmaMemory (IN PVOID HwDeviceExtension, IN PVOID VirtualAddress, IN HANDLE ProcessHandle, IN PDMA BoardMemoryHandle)
 
VPAPI VP_STATUS NTAPI VideoPortCreateSecondaryDisplay (IN PVOID HwDeviceExtension, IN OUT PVOID *SecondaryDeviceExtension, IN ULONG ulFlag)
 
VPAPI PVP_DMA_ADAPTER NTAPI VideoPortGetDmaAdapter (IN PVOID HwDeviceExtension, IN PVP_DEVICE_DESCRIPTION VpDeviceDescription)
 
VPAPI VOID NTAPI VideoPortPutDmaAdapter (IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter)
 
VPAPI PVOID NTAPI VideoPortAllocateCommonBuffer (IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN ULONG DesiredLength, OUT PPHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled, PVOID Reserved)
 
VPAPI VOID NTAPI VideoPortReleaseCommonBuffer (IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN ULONG Length, IN PHYSICAL_ADDRESS LogicalAddress, IN PVOID VirtualAddress, IN BOOLEAN CacheEnabled)
 
VPAPI PVOID NTAPI VideoPortLockBuffer (IN PVOID HwDeviceExtension, IN PVOID BaseAddress, IN ULONG Length, IN VP_LOCK_OPERATION Operation)
 
VPAPI VOID NTAPI VideoPortUnlockBuffer (IN PVOID HwDeviceExtension, IN PVOID Mdl)
 
VPAPI VP_STATUS NTAPI VideoPortStartDma (IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN PVOID Mdl, IN ULONG Offset, IN OUT PULONG pLength, IN PEXECUTE_DMA ExecuteDmaRoutine, IN PVOID Context, IN BOOLEAN WriteToDevice)
 
VPAPI VP_STATUS NTAPI VideoPortCompleteDma (IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN PVP_SCATTER_GATHER_LIST VpScatterGather, IN BOOLEAN WriteToDevice)
 
VPAPI VP_STATUS NTAPI VideoPortCreateEvent (IN PVOID HwDeviceExtension, IN ULONG EventFlag, IN PVOID Unused, OUT PEVENT *ppEvent)
 
VPAPI VP_STATUS NTAPI VideoPortDeleteEvent (IN PVOID HwDeviceExtension, IN PEVENT pEvent)
 
VPAPI LONG NTAPI VideoPortSetEvent (IN PVOID HwDeviceExtension, IN PEVENT pEvent)
 
VPAPI VOID NTAPI VideoPortClearEvent (IN PVOID HwDeviceExtension, IN PEVENT pEvent)
 
VPAPI LONG NTAPI VideoPortReadStateEvent (IN PVOID HwDeviceExtension, IN PEVENT pEvent)
 
VPAPI VP_STATUS NTAPI VideoPortWaitForSingleObject (IN PVOID HwDeviceExtension, IN PVOID Object, IN PLARGE_INTEGER Timeout OPTIONAL)
 
VPAPI PVOID NTAPI VideoPortAllocatePool (IN PVOID HwDeviceExtension, IN VP_POOL_TYPE PoolType, IN SIZE_T NumberOfBytes, IN ULONG Tag)
 
VPAPI VOID NTAPI VideoPortFreePool (IN PVOID HwDeviceExtension, IN PVOID Ptr)
 
VPAPI VP_STATUS NTAPI VideoPortCreateSpinLock (IN PVOID HwDeviceExtension, OUT PSPIN_LOCK *SpinLock)
 
VPAPI VP_STATUS NTAPI VideoPortDeleteSpinLock (IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock)
 
VPAPI VOID NTAPI VideoPortAcquireSpinLock (IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock, OUT PUCHAR OldIrql)
 
VPAPI VOID NTAPI VideoPortAcquireSpinLockAtDpcLevel (IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock)
 
VPAPI VOID NTAPI VideoPortReleaseSpinLock (IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock, IN UCHAR NewIrql)
 
VPAPI VOID NTAPI VideoPortReleaseSpinLockFromDpcLevel (IN PVOID HwDeviceExtension, IN PSPIN_LOCK SpinLock)
 
VPAPI VOID NTAPI VideoPortQuerySystemTime (OUT PLARGE_INTEGER CurrentTime)
 
VPAPI BOOLEAN NTAPI VideoPortCheckForDeviceExistence (IN PVOID HwDeviceExtension, IN USHORT VendorId, IN USHORT DeviceId, IN UCHAR RevisionId, IN USHORT SubVendorId, IN USHORT SubSystemId, IN ULONG Flags)
 
VPAPI ULONG NTAPI VideoPortGetAssociatedDeviceID (IN PVOID DeviceObject)
 
VPAPI VP_STATUS NTAPI VideoPortFlushRegistry (PVOID HwDeviceExtension)
 
VPAPI VP_STATUS NTAPI VideoPortGetVersion (IN PVOID HwDeviceExtension, IN OUT PVPOSVERSIONINFO pVpOsVersionInfo)
 
VPAPI BOOLEAN NTAPI VideoPortIsNoVesa (VOID)
 
VPAPI VP_STATUS NTAPI VideoPortRegisterBugcheckCallback (IN PVOID HwDeviceExtension, IN ULONG BugcheckCode, IN PVIDEO_BUGCHECK_CALLBACK Callback, IN ULONG BugcheckDataSize)
 
VPAPI PVIDEO_DEBUG_REPORT NTAPI VideoPortDbgReportCreate (IN PVOID HwDeviceExtension, IN ULONG ulCode, IN ULONG_PTR ulpArg1, IN ULONG_PTR ulpArg2, IN ULONG_PTR ulpArg3, IN ULONG_PTR ulpArg4)
 
VPAPI BOOLEAN NTAPI VideoPortDbgReportSecondaryData (IN OUT PVIDEO_DEBUG_REPORT pReport, IN PVOID pvData, IN ULONG ulDataSize)
 
VPAPI VOID NTAPI VideoPortDbgReportComplete (IN OUT PVIDEO_DEBUG_REPORT pReport)
 

Macro Definition Documentation

#define __VIDEO_H__

Definition at line 25 of file video.h.

#define BUGCHECK_DATA_SIZE_RESERVED   48

Definition at line 149 of file video.h.

#define CDE_USE_REVISION   0x00000002

Definition at line 147 of file video.h.

Referenced by VideoPortCheckForDeviceExistence().

#define CDE_USE_SUBSYSTEM_IDS   0x00000001

Definition at line 146 of file video.h.

Referenced by VideoPortCheckForDeviceExistence().

#define DEVICE_VGA_ENABLED   1

Definition at line 143 of file video.h.

#define DISPLAY_ADAPTER_HW_ID   0xFFFFFFFF

Definition at line 115 of file video.h.

Referenced by VBEGetPowerState(), VBEGetVideoChildDescriptor(), and VBESetPowerState().

#define EVENT_TYPE_MASK   1

Definition at line 107 of file video.h.

Referenced by VideoPortCreateEvent().

#define GET_VIDEO_PHYSICAL_ADDRESS (   scatterList,
  VirtualAddress,
  InputBuffer,
  pLength,
  Address 
)
Value:
do { \
ULONG_PTR byteOffset; \
\
byteOffset = (PCHAR) VirtualAddress - (PCHAR)InputBuffer; \
while (byteOffset >= scatterList->Length) { \
byteOffset -= scatterList->Length; \
scatterList++; \
} \
*pLength = scatterList->Length - byteOffset; \
Address = (ULONG_PTR) (scatterList->PhysicalAddress + byteOffset); \
} while (0)
DWORD * pLength
Definition: msvc.h:79
PVOID ULONG Address
Definition: oprghdlr.h:14
CHAR InputBuffer[80]
Definition: conmgr.c:33
while(1)
Definition: macro.lex.yy.c:730
_In_ ULONG _In_ BOOLEAN _Must_inspect_result_ PVOID * VirtualAddress
Definition: ndis.h:3772
signed char * PCHAR
Definition: retypes.h:7
#define ULONG_PTR
Definition: config.h:101

Definition at line 78 of file video.h.

#define GET_VIDEO_SCATTERGATHER (   ppDma)    (**(PVRB_SG **)ppDma)

Definition at line 95 of file video.h.

#define INITIAL_EVENT_NOT_SIGNALED   0

Definition at line 112 of file video.h.

#define INITIAL_EVENT_SIGNALED   2

Definition at line 113 of file video.h.

#define INITIAL_EVENT_STATE_MASK   2

Definition at line 111 of file video.h.

Referenced by VideoPortCreateEvent().

#define NOTIFICATION_EVENT   1

Definition at line 109 of file video.h.

Referenced by VmxFindAdapter().

#define PAGED_CODE ( )

Definition at line 57 of file video.h.

Referenced by __RxAcquireFcb(), _Function_class_(), _IRQL_requires_max_(), _NavigateToLeafNode(), ACPIDispatchDeviceControl(), AdapterDispatchPnp(), AddControllers(), AddDevice(), arbusno_Constructor(), ario_Constructor(), armem_Constructor(), ARPReceive(), BasicSupportHandler(), BatteryIoctl(), Bus_AddDevice(), Bus_DestroyPdo(), Bus_FDO_PnP(), Bus_GetDeviceCapabilities(), Bus_InitializePdo(), Bus_PDO_PnP(), Bus_PDO_QueryBusInformation(), Bus_PDO_QueryDeviceCaps(), Bus_PDO_QueryDeviceId(), Bus_PDO_QueryDeviceRelations(), Bus_PDO_QueryDeviceText(), Bus_PDO_QueryResourceRequirements(), Bus_PlugInDevice(), Bus_PnP(), Bus_SendIrpSynchronously(), Bus_StartFdo(), CalculateMbrCheckSum(), CdAcquireForCache(), CdAcquireForCreateSection(), CdAcquireResource(), CdAddAllocationFromDirent(), CdAddInitialAllocation(), CdAllocateFcbTable(), CdCheckForXAExtent(), CdCheckRawDirentBounds(), CdCleanupFileContext(), CdCleanupIrpContext(), CdCommonClose(), CdCommonClosePrivate(), CdCommonCreate(), CdCommonDevControl(), CdCommonDirControl(), CdCommonFsControl(), CdCommonLockControl(), CdCommonQueryInfo(), CdCommonQueryVolInfo(), CdCommonRead(), CdCommonSetInfo(), CdCompleteFcbOpen(), CdCompleteMdl(), CdConvertBigToLittleEndian(), CdConvertNameToCdName(), CdCreateCcb(), CdCreateFcb(), CdCreateFcbNonpaged(), CdCreateFileLock(), CdCreateInternalStream(), CdCreateIrpContext(), CdCreateUserMdl(), CdDeallocateFcbTable(), CdDecodeFileObject(), CdDeleteCcb(), CdDeleteFcb(), CdDeleteFcbNonpaged(), CdDeleteInternalStream(), CdDeleteVcb(), CdDiskOffsetFromMcbEntry(), CdDismountVolume(), CdDissectName(), CdEnumerateIndex(), CdFastDecodeFileObject(), CdFastIoCheckIfPossible(), CdFastLock(), CdFastQueryBasicInfo(), CdFastQueryNetworkInfo(), CdFastQueryStdInfo(), CdFastUnlockAll(), CdFastUnlockAllByKey(), CdFastUnlockSingle(), CdFcbTableCompare(), CdFindActiveVolDescriptor(), CdFindDirectory(), CdFindFile(), CdFindFileByShortName(), CdFindMcbEntry(), CdFindNameLink(), CdFindPathEntry(), CdFindPrefix(), CdFindPrimaryVd(), CdFinishBuffers(), CdFsdPostRequest(), CdFspClose(), CdFullCompareNames(), CdGenerate8dot3Name(), CdGetNextFcb(), CdInitializeEnumeration(), CdInitializeFcbFromFileContext(), CdInitializeFcbFromPathEntry(), CdInitializeMcb(), CdInitializeStackIrpContext(), CdInitializeVcb(), CdInsertNameLink(), CdInsertPrefix(), CdIs8dot3Name(), CdIsNameInExpression(), CdIsPathnameValid(), CdIsRemount(), CdIsVolumeMounted(), CdLockVolume(), CdLookupAllocation(), CdLookupDirent(), CdLookupFcbTable(), CdLookupLastFileDirent(), CdLookupNextDirent(), CdLookupNextInitialFileDirent(), CdLookupNextPathEntry(), CdLookupPathEntry(), CdMapPathTableBlock(), CdMountVolume(), CdMultipleAsync(), CdMultipleXAAsync(), CdNonCachedRead(), CdNonCachedXARead(), CdNoopAcquire(), CdNoopRelease(), CdNormalizeFileNames(), CdNotifyChangeDirectory(), CdOpenByFileId(), CdOpenDirectoryFromPathEntry(), CdOpenExistingFcb(), CdOpenFileFromFileContext(), CdOplockComplete(), CdOplockRequest(), CdPerformDevIoCtrl(), CdPrepareBuffers(), CdPrepareXABuffers(), CdPrePostIrp(), CdProcessToc(), CdPurgeVolume(), CdQueryAlternateNameInfo(), CdQueryBasicInfo(), CdQueryDirectory(), CdQueryEaInfo(), CdQueryFsAttributeInfo(), CdQueryFsDeviceInfo(), CdQueryFsSizeInfo(), CdQueryFsVolumeInfo(), CdQueryInternalInfo(), CdQueryNameInfo(), CdQueryNetworkInfo(), CdQueryPositionInfo(), CdQueryStandardInfo(), CdQueueClose(), CdReadAudioSystemFile(), CdReadSectors(), CdReleaseForCreateSection(), CdReleaseFromCache(), CdRemoveClose(), CdRemovePrefix(), CdRomAddDevice(), CdRomCreateDeviceObject(), CdRomGetConfiguration(), CdRomGetDeviceParameter(), CdRomGetDeviceType(), CdRomInitDevice(), CdRomIsDeviceMmcDevice(), CdRomIsPlayActive(), CdRompGetConfiguration(), CdRomPickDvdRegion(), CdRomReadWriteVerification(), CdRomRemoveDevice(), CdRomSetDeviceParameter(), CdRomUnload(), CdScanForDismountedVcb(), CdSerial32(), CdSetFileObject(), CdSetThreadContext(), CdShortNameDirentOffset(), CdSingleAsync(), CdTeardownStructures(), CdTocSerial(), CdTruncateAllocation(), CdUninitializeMcb(), CdUnlockVolume(), CdUpcaseName(), CdUpdateDirentFromRawDirent(), CdUpdateDirentName(), CdUpdatePathEntryFromRawPathEntry(), CdUpdatePathEntryName(), CdUpdateVcbFromVolDescriptor(), CdUserFsctl(), CdVerifyFcbOperation(), CdVerifyVcb(), CdVerifyVolume(), CdWaitSync(), CheckForLoudOperations(), ClassAcquireChildLock(), ClassAddDevice(), ClassClaimDevice(), ClassCleanupMediaChangeDetection(), ClassCreateClose(), ClassCreateDeviceObject(), ClassDeleteSrbLookasideList(), ClassDisableMediaChangeDetection(), ClassDispatchPnp(), ClassEnableMediaChangeDetection(), ClassFindGuid(), ClassGetDescriptor(), ClassGetDeviceParameter(), ClassGetPdoId(), ClassInitialize(), ClassInitializeEx(), ClassInitializeMediaChangeDetection(), ClassInitializeSrbLookasideList(), ClassInvalidateBusRelations(), ClassMarkChildMissing(), ClassMarkChildrenMissing(), ClassModeSense(), ClasspCleanupDisableMcn(), ClasspCleanupProtectedLocks(), ClasspCreateClose(), ClasspDisableTimer(), ClasspEjectionControl(), ClasspEnableTimer(), ClasspGetFsContext(), ClasspInitializeCScanList(), ClasspInitializeGesn(), ClasspInitializeHotplugInfo(), ClasspInitializePolling(), ClasspIsMediaChangeDisabledDueToHardwareLimitation(), ClasspIsMediaChangeDisabledForClass(), ClasspMcnControl(), ClasspMediaChangeDeviceInstanceOverride(), ClasspMediaChangeRegistryCallBack(), ClasspMyStringMatches(), ClassPnpQueryFdoRelations(), ClassPnpStartDevice(), ClasspScanForClassHacks(), ClasspScanForSpecialInRegistry(), ClassQueryPnpCapabilities(), ClassQueryTimeOutRegistryValue(), ClassRemoveDevice(), ClassRetrieveDeviceRelations(), ClassScanForSpecial(), ClassSendDeviceIoControlSynchronous(), ClassSetDeviceParameter(), ClassSetFailurePredictionPoll(), ClassSystemControl(), ClassUnload(), ClassUpdateInformationInRegistry(), CmBattAddAcAdapter(), CmBattAddBattery(), CmBattAddDevice(), CmBattCreateFdo(), CmBattDestroyFdo(), CmBattDisableStatusNotify(), CmBattGetBatteryStatus(), CmBattGetPsrData(), CmBattGetStaData(), CmBattGetUniqueId(), CmBattIoctl(), CmBattOpenClose(), CmBattPnpDispatch(), CmBattQueryInformation(), CmBattQueryStatus(), CmBattQueryTag(), CmBattSendDownStreamIrp(), CmBattSetStatusNotify(), CmBattSetTripPpoint(), CmBattSystemControl(), CmBattWmiDeRegistration(), CmBattWmiRegistration(), CmEnumerateValueKey(), CmGetSystemDriverList(), CmiCallRegisteredCallbacks(), CmInitSystem1(), CmpAddSubKey(), CmpAddToDelayedClose(), CmpAddValueToList(), CmpAllocateDelayItem(), CmpAllocateKeyControlBlock(), CmpArmDelayedCloseTimer(), CmpCleanUpKcbCacheWithLock(), CmpCloseKeyObject(), CmpCmdHiveOpen(), CmpCmdInit(), CmpCompareNewValueDataAgainstKCBCache(), CmpCopyCell(), CmpCopyKeyValueList(), CmpCopyValue(), CmpCreateControlSet(), CmpCreateObjectTypes(), CmpCreateRegistryRoot(), CmpCreateRootNode(), CmpDeepCopyKeyInternal(), CmpDelayDerefKeyControlBlock(), CmpDeleteKeyObject(), CmpFreeDelayItem(), CmpFreeDriverList(), CmpFreeKeyControlBlock(), CmpFreeSecurityDescriptor(), CmpFreeValue(), CmpFreeValueData(), CmpGetValueData(), CmpHiveRootSecurityDescriptor(), CmpInitCallback(), CmpInitHiveFromFile(), CmpInitializeHiveList(), CmpInitializeSystemHive(), CmpIsHiveAlreadyLoaded(), CmpLazyFlush(), CmpLinkHiveToMaster(), CmpLinkKeyToHive(), CmpLoadHiveThread(), CmpMarkValueDataDirty(), CmpParseKey(), CmpQueryKeyDataFromCache(), CmpRemoveFromDelayedClose(), CmpRemoveSecurityCellList(), CmpRemoveValueFromList(), CmpSetValueDataNew(), CmpShutdownWorkers(), CmpValueToData(), CmQueryValueKey(), CmRegisterCallback(), CmSaveKey(), CmSaveMergedKeys(), CmUnRegisterCallback(), CompareKeys(), CompareKeysWithoutOffset(), CompareShortKeys(), CompBattAddNewBattery(), CompBattGetDeviceObjectPointer(), CompBattOpenClose(), CompBattQueryInformation(), CompBattQueryTag(), CompBattSystemControl(), ConfigCallback(), CopyResourceDescriptor(), CreateDiskDeviceObject(), CreateMiniportTopologyCMI(), CreateMiniportWaveCMI(), CreateMiniportWaveStreamCMI(), DbgkClearProcessDebugObject(), DbgkCopyProcessDebugPort(), DbgkCreateThread(), DbgkExitProcess(), DbgkExitThread(), DbgkForwardException(), DbgkInitialize(), DbgkMapViewOfSection(), DbgkOpenProcessDebugPort(), DbgkpCloseObject(), DbgkpDeleteObject(), DbgkpFreeDebugEvent(), DbgkpMarkProcessPeb(), DbgkpOpenHandles(), DbgkpPostFakeModuleMessages(), DbgkpPostFakeProcessCreateMessages(), DbgkpPostFakeThreadMessages(), DbgkpQueueMessage(), DbgkpResumeProcess(), DbgkpSectionToFileHandle(), DbgkpSendApiMessage(), DbgkpSendApiMessageLpc(), DbgkpSetProcessDebugObject(), DbgkpSuspendProcess(), DbgkpWakeTarget(), DbgkUnMapViewOfSection(), DestroyAllTransferPackets(), DetermineOnDiskKeyFormat(), devpresent_Constructor(), DisableWriteCache(), DiskAcquirePartitioningLock(), DiskAddDevice(), DiskConvertExtendedToLayout(), DiskConvertLayoutToExtended(), DiskConvertPartitionToExtended(), DiskCreateFdo(), DiskCreatePdo(), DiskCreateSymbolicLinks(), DiskDeleteSymbolicLinks(), DiskDetectFailurePrediction(), DiskDetermineMediaTypes(), DiskEnableDisableFailurePrediction(), DiskEnableDisableFailurePredictPolling(), DiskEnumerateDevice(), DiskFdoExecuteWmiMethod(), DiskFdoQueryWmiDataBlock(), DiskFdoQueryWmiRegInfo(), DiskFdoSetWmiDataBlock(), DiskFdoSetWmiDataItem(), DiskFindAdjacentPartition(), DiskFindContainingPartition(), DiskGenerateDeviceName(), DiskGetCacheInformation(), DiskGetIdentifyInfo(), DiskGetInfoExceptionInformation(), DiskInitFdo(), DiskInitializeReregistration(), DiskInitPdo(), DiskIoctlCreateDisk(), DiskIoctlGetDriveGeometryEx(), DiskIoctlGetDriveLayout(), DiskIoctlGetDriveLayoutEx(), DiskIoctlGetLengthInfo(), DiskIoctlGetPartitionInfo(), DiskIoctlGetPartitionInfoEx(), DiskIoctlSetDriveLayout(), DiskIoctlSetDriveLayoutEx(), DiskIoctlSetPartitionInfo(), DiskIoctlSetPartitionInfoEx(), DiskIoctlVerify(), DiskModeSelect(), DiskPdoFindPartitionEntry(), DiskPerformSmartCommand(), DiskQueryId(), DiskQueryPnpCapabilities(), DiskReadFailurePredictData(), DiskReadFailurePredictStatus(), DiskReadFailurePredictThresholds(), DiskReadSmartLog(), DiskReleasePartitioningLock(), DiskRemoveDevice(), DiskReregWorker(), DiskScanRegistryForSpecial(), DiskSendFailurePredictIoctl(), DiskSetCacheInformation(), DiskSetInfoExceptionInformation(), DiskSetSpecialHacks(), DiskStartFdo(), DiskStartPdo(), DiskUnload(), DiskUpdatePartitions(), DiskUpdateRemovablePartitions(), DiskWmiFunctionControl(), DiskWriteSmartLog(), DriverCleanup(), DriverClose(), DriverCreate(), DriverEntry(), DriverIoControl(), DriverUnload(), EnumerateBusKey(), ExChangeHandle(), ExCreateCallback(), ExCreateHandle(), ExCreateHandleTable(), ExDestroyHandle(), ExDestroyHandleTable(), ExDupHandleTable(), ExEnumHandleTable(), ExfReInitializeRundownProtection(), ExfRundownCompleted(), ExfWaitForRundownProtectionRelease(), ExLockUserBuffer(), ExMapHandleToPointer(), ExpAllocateHandleTable(), ExpAllocateHandleTableEntrySlow(), ExpFreeHandleTable(), ExpFreeHandleTableEntry(), ExpGetCurrentUserUILanguage(), ExpRaiseHardError(), ExpSetCurrentUserUILanguage(), ExpWorkerThreadBalanceManager(), ExRaiseHardError(), ExRemoveHandleTable(), ExSwapinWorkerThreads(), ExSweepHandleTable(), ExUnlockHandleTableEntry(), FatCompleteRequest(), FatDestroyIrpContext(), FFSAcquireForLazyWrite(), FFSAcquireForReadAhead(), FFSAddEntry(), FFSAddMcbEntry(), FFSAddMcbNode(), FFSAllocateCcb(), FFSAllocateIrpContext(), FFSAllocateMcb(), FFSAllowExtendedDasdIo(), FFSBuildRequest(), FFSCheckBitmapConsistency(), FFSCheckDismount(), FFSCheckSetBlock(), FFSCleanup(), FFSClose(), FFSCompleteIrpContext(), FFSCopyRead(), FFSCreate(), FFSCreateFcbFromMcb(), FFSCreateFile(), FFSCreateInode(), FFSCreateVolume(), FFSDeleteFile(), FFSDeleteMcbNode(), FFSDeQueueCloseRequest(), FFSDeQueueRequest(), FFSDeviceControl(), FFSDeviceControlNormal(), FFSDirectoryControl(), FFSDiskIoControl(), FFSDiskShutDown(), FFSDismountVolume(), FFSDispatchRequest(), FFSExpandBlock(), FFSExpandFile(), FFSExpandInode(), FFSFastIoCheckIfPossible(), FFSFastIoLock(), FFSFastIoQueryBasicInfo(), FFSFastIoQueryNetworkOpenInfo(), FFSFastIoQueryStandardInfo(), FFSFastIoUnlockAll(), FFSFastIoUnlockAllByKey(), FFSFastIoUnlockSingle(), FFSFileSystemControl(), FFSFloppyFlush(), FFSFlush(), FFSFlushFile(), FFSFlushFiles(), FFSFlushVolume(), FFSFreeBlock(), FFSFreeCcb(), FFSFreeFcb(), FFSFreeInode(), FFSFreeIrpContext(), FFSFreeMcb(), FFSFreeMcbTree(), FFSFreeVcb(), FFSGetFullFileName(), FFSGetInfoLength(), FFSGetPartition(), FFSGetUserBuffer(), FFSInitializeVcb(), FFSInodeTime(), FFSIsDirectoryEmpty(), FFSIsHandleCountZero(), FFSIsMediaWriteProtected(), FFSIsVolumeMounted(), FFSLoadDiskLabel(), FFSLoadSuper(), FFSLockControl(), FFSLockUserBuffer(), FFSLockVcb(), FFSLockVolume(), FFSLog2(), FFSLookupMcbEntry(), FFSMediaEjectControl(), FFSMountVolume(), FFSNewBlock(), FFSNewInode(), FFSNoOpAcquire(), FFSNoOpRelease(), FFSNotifyChangeDirectory(), FFSOEMToUnicode(), FFSProcessDirEntry(), FFSPurgeFile(), FFSPurgeVolume(), FFSQueryDirectory(), FFSQueryInformation(), FFSQueryVolumeInformation(), FFSQueueCloseRequest(), FFSQueueRequest(), FFSRead(), FFSReadComplete(), FFSReadDisk(), FFSReadFile(), FFSReadSync(), FFSReadVolume(), FFSReadWriteBlocks(), FFSRefreshMcb(), FFSReleaseFromLazyWrite(), FFSReleaseFromReadAhead(), FFSRemoveEntry(), FFSRemoveMcbEntry(), FFSSaveBlock(), FFSSaveBuffer(), FFSSaveSuper(), FFSSearchMcb(), FFSSearchMcbTree(), FFSSetDispositionInfo(), FFSSetInformation(), FFSSetRenameInfo(), FFSSetVolumeInformation(), FFSShutDown(), FFSStartFloppyFlushDpc(), FFSSupersedeOrOverWriteFile(), FFSSyncUninitializeCacheMap(), FFSSysTime(), FFSTruncateBlock(), FFSTruncateFile(), FFSTruncateInode(), FFSUnicodeToOEM(), FFSUnlockVcb(), FFSUnlockVolume(), FFSUserFsRequest(), FFSv1AllocateFcb(), FFSv1BlockMap(), FFSv1BuildBDL(), FFSv1GetBlock(), FFSv1GetInodeLba(), FFSv1LoadBlock(), FFSv1LoadInode(), FFSv1LookupFileName(), FFSv1ReadInode(), FFSv1SaveInode(), FFSv1ScanDir(), FFSv1WriteInode(), FFSv2AllocateFcb(), FFSv2BlockMap(), FFSv2BuildBDL(), FFSv2GetBlock(), FFSv2GetInodeLba(), FFSv2LoadBlock(), FFSv2LoadInode(), FFSv2LookupFileName(), FFSv2ReadInode(), FFSv2SaveInode(), FFSv2ScanDir(), FFSVerifyVolume(), FFSWrite(), FFSWriteComplete(), FFSWriteFile(), FFSWriteVolume(), FFSZeroHoles(), FillInMemoryKey(), FindScsiDisks(), FltpAttachDeviceObject(), FltpAttachToFileSystemDevice(), FltpCreate(), FltpDetachFromFileSystemDevice(), FltpEnumerateFileSystemVolumes(), FltpFastIoCheckIfPossible(), FltpFastIoDetachDevice(), FltpFastIoDeviceControl(), FltpFastIoLock(), FltpFastIoMdlRead(), FltpFastIoMdlReadComplete(), FltpFastIoMdlReadCompleteCompressed(), FltpFastIoMdlWriteComplete(), FltpFastIoMdlWriteCompleteCompressed(), FltpFastIoPrepareMdlWrite(), FltpFastIoQueryBasicInfo(), FltpFastIoQueryNetworkOpenInfo(), FltpFastIoQueryOpen(), FltpFastIoQueryStandardInfo(), FltpFastIoRead(), FltpFastIoReadCompressed(), FltpFastIoUnlockAll(), FltpFastIoUnlockAllByKey(), FltpFastIoUnlockSingle(), FltpFastIoWrite(), FltpFastIoWriteCompressed(), FltpFsControl(), FltpFsNotification(), FltpIsAttachedToDevice(), FreeBT_DispatchClose(), FreeBT_DispatchCreate(), FreeBT_DispatchSysCtrl(), FreeBT_QueryWmiDataBlock(), FreeBT_QueryWmiRegInfo(), FreeBT_SetWmiDataBlock(), FreeBT_SetWmiDataItem(), FreeBT_WmiDeRegistration(), FreeBT_WmiRegistration(), FsRecBtrfsFsControl(), FsRecCdfsFsControl(), FsRecClose(), FsRecCreate(), FsRecExt2FsControl(), FsRecFfsFsControl(), FsRecFsControl(), FsRecGetDeviceSectors(), FsRecGetDeviceSectorSize(), FsRecIsFatVolume(), FsRecIsNtfsVolume(), FsRecIsUdfsVolume(), FsRecLoadFileSystem(), FsRecNtfsFsControl(), FsRecReadBlock(), FsRecReiserfsFsControl(), FsRecUdfsFsControl(), FsRecUnload(), FsRecVfatFsControl(), FsRtlAcquireFileExclusive(), FsRtlAcquireFileForCcFlush(), FsRtlAddToTunnelCache(), FsRtlAllocateResource(), FsRtlAreNamesEqual(), FsRtlCopyRead(), FsRtlCopyRead2(), FsRtlCopyWrite(), FsRtlDeleteKeyFromTunnelCache(), FsRtlDeleteTunnelCache(), FsRtlDeregisterUncProvider(), FsRtlDissectDbcs(), FsRtlDissectName(), FsRtlDoesDbcsContainWildCards(), FsRtlDoesNameContainWildCards(), FsRtlFindInTunnelCache(), FsRtlGetFileSize(), FsRtlInitializeOplock(), FsRtlInitializeTunnelCache(), FsRtlIsDbcsInExpression(), FsRtlIsFatDbcsLegal(), FsRtlIsHpfsDbcsLegal(), FsRtlIsNameInExpressionPrivate(), FsRtlMdlReadDev(), FsRtlNotifyCompleteIrp(), FsRtlNotifyFilterChangeDirectory(), FsRtlNotifyFilterReportChange(), FsRtlNotifyUpdateBuffer(), FsRtlpOpenDev(), FsRtlpRegisterProviderWithMUP(), FsRtlPrepareMdlWriteDev(), FsRtlPruneTunnelCache(), FsRtlpSetSymbolicLink(), FsRtlRegisterFileSystemFilterCallbacks(), FsRtlRegisterUncProvider(), FstubAdjustPartitionCount(), FstubAllocateDiskInformation(), FstubConvertExtendedToLayout(), FstubCopyEntryEFI(), FstubCreateDiskEFI(), FstubCreateDiskMBR(), FstubCreateDiskRaw(), FstubDbgPrintDriveLayoutEx(), FstubDbgPrintPartitionEx(), FstubDbgPrintSetPartitionEx(), FstubDetectPartitionStyle(), FstubFixupEfiPartition(), FstubGetDiskGeometry(), FstubReadHeaderEFI(), FstubReadPartitionTableEFI(), FstubReadPartitionTableMBR(), FstubReadSector(), FstubSetPartitionInformationEFI(), FstubTranslateRequirement(), FstubTranslateResource(), FstubTranslatorNull(), FstubVerifyPartitionTableEFI(), FstubWriteBootSectorEFI(), FstubWriteEntryEFI(), FstubWriteHeaderEFI(), FstubWritePartitionTableEFI(), FstubWritePartitionTableMBR(), FstubWriteSector(), Get_Byte(), CMiniportDMusUART::GetDescription(), GetDeviceId(), HalAdjustResourceList(), HalAssignSlotResources(), HalGetInterruptVector(), HaliAcpiTimerInit(), HaliInitPnpDriver(), HalpAcpiDetectResourceListSize(), HalpAssignSlotResources(), HalpBuildAcpiResourceList(), HalpCalculateChsValues(), HalpGetFullGeometry(), HalpIsValidPartitionEntry(), HalpQueryAcpiResourceRequirements(), HalpQueryCapabilities(), HalpQueryResourceRequirements(), HalpQueryResources(), HalpRegisterPciDebuggingDeviceInfo(), CMiniportDMusUARTStream::HandlePortParams(), HvReleaseFreeCellRefArray(), HvTrackCellRef(), HwConfigure(), HwFormatTrack(), HwGetVersion(), HwReadId(), HwReadIdResult(), HwReadWriteData(), HwReadWriteResult(), HwRecalibrate(), HwRecalibrateResult(), HwSeek(), HwSenseDriveStatus(), HwSenseDriveStatusResult(), HwSenseInterruptStatus(), HwTurnOnMotor(), CMiniportWaveStreamCMI::Init(), InitController(), InitializeDeviceData(), InitializeGlobalData(), CMiniportDMusUART::InitializeHardware(), InitializeTransferPackets(), InstallSubdevice(), IoCancelThreadIo(), IoCheckDesiredAccess(), IoCheckEaBufferValidity(), IoCheckShareAccess(), IoConnectInterrupt(), IoCreateController(), IoCreateDevice(), IoCreateDisk(), IoCreateFile(), IoCreateFileSpecifyDeviceObjectHint(), IoCreateStreamFileObjectEx(), IoCreateStreamFileObjectLite(), IoCreateSymbolicLink(), IoCreateUnprotectedSymbolicLink(), IoDeleteSymbolicLink(), IoDisconnectInterrupt(), IoFastQueryNetworkAttributes(), IoGetBootDiskInformation(), IoGetDeviceInterfaces(), IoInitializeRemoveLockEx(), IoInitializeTimer(), IopAbortInterruptedIrp(), IopCheckBackupRestorePrivilege(), IopCleanupAfterException(), IopCleanupFailedIrp(), IopCreateEvent(), IopCreateFile(), IopCreateRegistryKeyEx(), IopDeleteDevice(), IopDeleteDriver(), IopDeviceFsIoControl(), IopDoNameTransmogrify(), IopFinalizeAsynchronousIo(), IopGetBasicInformationFile(), IopGetFileInformation(), IopGetRegistryValue(), IopGetSetSecurityObject(), IopLoadFileSystemDriver(), IopLogWorker(), IopMountVolume(), IopOpenLinkOrRenameTarget(), IopOpenRegistryKeyEx(), IopPerformSynchronousRequest(), IopQueryAttributesFile(), IopQueryDeviceInformation(), IopReadyDeviceObjects(), IopSetDeviceSecurityDescriptor(), IopSetDeviceSecurityDescriptors(), IopStartAndEnumerateDevice(), IopSynchronousCall(), IopUnloadDriver(), IopWorkItemCallback(), IoReadDiskSignature(), IoReadPartitionTableEx(), IoRegisterFileSystem(), IoRegisterFsRegistrationChange(), IoRegisterPlugPlayNotification(), IoReleaseRemoveLockAndWaitEx(), IoRemoveShareAccess(), IoSetInformation(), IoSetPartitionInformationEx(), IoSetShareAccess(), IoSynchronousInvalidateDeviceRelations(), IoUnregisterFileSystem(), IoUnregisterFsRegistrationChange(), IoUnregisterPlugPlayNotification(), IoUpdateShareAccess(), IoVerifyPartitionTable(), IoVolumeDeviceToDosName(), IoWritePartitionTableEx(), IsFloppyDevice(), CMiniportWaveCMI::isFormatAllowed(), KeAddSystemServiceTable(), KeFlushQueuedDpcs(), KeQueryActiveProcessors(), KeRemoveSystemServiceTable(), KmtCleanUsermodeCallbacks(), KmtFreeCallbackResponse(), KmtInitTestContext(), KmtUserModeCallback(), CMiniportWaveCMI::loadChannelConfigFromRegistry(), LpcpCopyRequestData(), LpcpCreatePort(), LpcpDeletePort(), LpcpDestroyPortQueue(), LpcpFindDataInfoMessage(), LpcpFreeToPortZone(), LpcpInitializePortQueue(), LpcpPrepareToWakeClient(), LpcpSaveDataInfoMessage(), LpcRequestPort(), LpcRequestWaitReplyPort(), MiCacheImageSymbols(), MiCallDllUnloadAndUnloadDll(), MiClearImports(), MiCreatePagingFileMap(), MiDereferenceImports(), MiDoMappedCopy(), MiDoPoolCopy(), MiFillSystemPageDirectory(), MiFindContiguousMemory(), MiFindContiguousPages(), MiFindExportedRoutineByName(), MiFreeContiguousMemory(), MiGetExceptionInfo(), MiGetPageProtection(), MiInitializeNonPagedPool(), MiInitializeSessionPool(), MiInsertInSystemSpace(), MiIsEntireRangeCommitted(), MiLoadImageSection(), MiLocateExportName(), MiLookupDataTableEntry(), MiMapLockedPagesInUserSpace(), MiMapViewInSystemSpace(), MiRemoveFromSystemSpace(), MiResolveImageReferences(), MiSetPagingOfDriver(), MiSetProtectionOnSection(), MiSnapThunk(), MiUnmapViewInSystemSpace(), MiUnmapViewOfSection(), MiWriteProtectSystemImage(), MmAddVerifierThunks(), MmCheckSystemImage(), MmCommitSessionMappedView(), MmFlushVirtualMemory(), MmGetSessionLocaleId(), MmLoadSystemImage(), MmMapVideoDisplay(), MmMapViewInSessionSpace(), MmMapViewInSystemSpace(), MmMapViewOfArm3Section(), MmPageEntireDriver(), MmUnmapViewInSessionSpace(), MmUnmapViewInSystemSpace(), MmVerifyImageIsOkForMpUse(), NavigateToLeafNode(), NdisAnsiStringToUnicodeString(), NdisEqualString(), NdisInitializeString(), NdisInitializeTimer(), NdisMInitializeTimer(), NdisMMapIoSpace(), NdisMQueryAdapterResources(), NdisMSleep(), NdisMUnmapIoSpace(), NdisUnicodeStringToAnsiString(), NdisUpcaseUnicodeString(), NewCMIAdapter(), CMiniportWaveCMI::newDMAChannel(), NpCheckForNotify(), NpCommonCleanup(), NpCommonClose(), NpCommonFileSystemControl(), NpCommonFlushBuffers(), NpCommonQueryInformation(), NpCommonQuerySecurityInfo(), NpCommonQueryVolumeInformation(), NpCommonRead(), NpCommonSetInformation(), NpCommonSetSecurityInfo(), NpCommonWrite(), NpCompleteTransceiveIrp(), NpCopyClientContext(), NpCreateCcb(), NpCreateExistingNamedPipe(), NpCreateFcb(), NpCreateNewNamedPipe(), NpCreateRootDcb(), NpCreateRootDcbCcb(), NpDecodeFileObject(), NpDeleteCcb(), NpDeleteFcb(), NpDisconnect(), NpFindPrefix(), NpFindRelativePrefix(), NpFsdCleanup(), NpFsdClose(), NpFsdFileSystemControl(), NpFsdFlushBuffers(), NpFsdQueryInformation(), NpFsdQuerySecurityInfo(), NpFsdQueryVolumeInformation(), NpFsdRead(), NpFsdSetInformation(), NpFsdSetSecurityInfo(), NpFsdWrite(), NpGetClientSecurityContext(), NpGetNextRealDataQueueEntry(), NpImpersonate(), NpImpersonateClientContext(), NpInitializeDataQueue(), NpInitializeSecurity(), NpInitializeVcb(), NpListen(), NpOpenNamedPipeFileSystem(), NpOpenNamedPipeRootDirectory(), NpPeek(), NpQueryClientProcess(), NpReadDataQueue(), NpSetBasicInfo(), NpSetClientProcess(), NpSetFileObject(), NpSetPipeInfo(), NpTransceive(), NpTranslateAlias(), NpUninitializeDataQueue(), NpUninitializeSecurity(), NpWaitForNamedPipe(), NpWriteDataQueue(), NtAcceptConnectPort(), NtAccessCheck(), NtAddAtom(), NtAdjustPrivilegesToken(), NtAllocateLocallyUniqueId(), NtAllocateUuids(), NtAllocateVirtualMemory(), NtAssignProcessToJobObject(), NtCancelIoFile(), NtCancelTimer(), NtClearEvent(), NtCloseObjectAuditAlarm(), NtCompareTokens(), NtCompleteConnectPort(), NtCreateDebugObject(), NtCreateDirectoryObject(), NtCreateEvent(), NtCreateEventPair(), NtCreateIoCompletion(), NtCreateJobObject(), NtCreateKey(), NtCreateMailslotFile(), NtCreateMutant(), NtCreateNamedPipeFile(), NtCreatePort(), NtCreateProcessEx(), NtCreateProfile(), NtCreateSection(), NtCreateSemaphore(), NtCreateSymbolicLinkObject(), NtCreateThread(), NtCreateTimer(), NtCreateToken(), NtCreateWaitablePort(), NtDebugActiveProcess(), NtDebugContinue(), NtDeleteAtom(), NtDeleteFile(), NtDeleteKey(), NtDeleteValueKey(), NtDuplicateToken(), NtEnumerateKey(), NtEnumerateValueKey(), NtFindAtom(), NtFlushBuffersFile(), NtFlushInstructionCache(), NtFlushKey(), NtFlushVirtualMemory(), NtFlushWriteBuffer(), NtFreeVirtualMemory(), NtGetContextThread(), NtGetWriteWatch(), NtImpersonateClientOfPort(), NtImpersonateThread(), NtInitializeRegistry(), NtIsProcessInJob(), NtListenPort(), NtLoadDriver(), NtLoadKeyEx(), NtLockFile(), NtLockVirtualMemory(), NtMakePermanentObject(), NtMakeTemporaryObject(), NtNotifyChangeDirectoryFile(), NtOpenDirectoryObject(), NtOpenEvent(), NtOpenEventPair(), NtOpenIoCompletion(), NtOpenJobObject(), NtOpenKey(), NtOpenMutant(), NtOpenObjectAuditAlarm(), NtOpenProcess(), NtOpenProcessTokenEx(), NtOpenSection(), NtOpenSemaphore(), NtOpenSymbolicLinkObject(), NtOpenThread(), NtOpenThreadTokenEx(), NtOpenTimer(), NtPowerInformation(), NtPrivilegeCheck(), NtPrivilegedServiceAuditAlarm(), NtProtectVirtualMemory(), NtPulseEvent(), NtQueryDefaultLocale(), NtQueryDefaultUILanguage(), NtQueryDirectoryFile(), NtQueryDirectoryObject(), NtQueryEvent(), NtQueryInformationAtom(), NtQueryInformationFile(), NtQueryInformationProcess(), NtQueryInformationThread(), NtQueryInformationToken(), NtQueryInstallUILanguage(), NtQueryIntervalProfile(), NtQueryIoCompletion(), NtQueryKey(), NtQueryMutant(), NtQueryObject(), NtQueryOpenSubKeys(), NtQuerySection(), NtQuerySecurityObject(), NtQuerySemaphore(), NtQuerySymbolicLinkObject(), NtQuerySystemEnvironmentValue(), NtQuerySystemInformation(), NtQuerySystemTime(), NtQueryTimer(), NtQueryValueKey(), NtQueryVolumeInformationFile(), NtQueueApcThread(), NtReadFile(), NtReadVirtualMemory(), NtRegisterThreadTerminatePort(), NtReleaseMutant(), NtReleaseSemaphore(), NtRemoveIoCompletion(), NtRemoveProcessDebug(), NtReplyPort(), NtReplyWaitReceivePortEx(), NtRequestPort(), NtRequestWaitReplyPort(), NtResetEvent(), NtResumeProcess(), NtResumeThread(), NtSaveKeyEx(), NtSaveMergedKeys(), NtSecureConnectPort(), NtSetContextThread(), NtSetDefaultLocale(), NtSetDefaultUILanguage(), NtSetEvent(), NtSetEventBoostPriority(), NtSetHighEventPair(), NtSetHighWaitLowEventPair(), NtSetInformationDebugObject(), NtSetInformationFile(), NtSetInformationObject(), NtSetInformationProcess(), NtSetInformationThread(), NtSetInformationToken(), NtSetIoCompletion(), NtSetLowEventPair(), NtSetLowWaitHighEventPair(), NtSetSecurityObject(), NtSetSystemEnvironmentValue(), NtSetSystemInformation(), NtSetSystemTime(), NtSetThreadExecutionState(), NtSetTimer(), NtSetUuidSeed(), NtSetValueKey(), NtSetVolumeInformationFile(), NtStartProfile(), NtStopProfile(), NtSuspendProcess(), NtSuspendThread(), NtTerminateJobObject(), NtTerminateProcess(), NtTerminateThread(), NtUnloadKey2(), NtUnlockFile(), NtUnlockVirtualMemory(), NtVdmControl(), NtWaitForDebugEvent(), NtWaitForMultipleObjects(), NtWaitHighEventPair(), NtWaitLowEventPair(), NtWriteFile(), NtWriteVirtualMemory(), NullDispatch(), NullQueryFileInformation(), NullRead(), NullWrite(), ObAssignObjectSecurityDescriptor(), ObAssignSecurity(), ObCheckCreateObjectAccess(), ObCheckObjectAccess(), ObDeleteCapturedInsertInfo(), ObDuplicateObject(), ObGetObjectSecurity(), ObInsertObject(), ObKillProcess(), ObMakeTemporaryObject(), ObOpenObjectByName(), ObOpenObjectByPointer(), ObpAllocateObject(), ObpCaptureObjectCreateInformation(), ObpCaptureObjectName(), ObpCheckObjectReference(), ObpCheckTraverseAccess(), ObpCloseHandle(), ObpCloseHandleTableEntry(), ObpCreateHandle(), ObpCreateUnnamedHandle(), ObpDeallocateObject(), ObpDecrementHandleCount(), ObpDeleteObject(), ObpDuplicateHandleCallback(), ObpIncrementHandleCount(), ObpIncrementHandleDataBase(), ObpInsertHandleCount(), ObpLookupEntryDirectory(), ObpLookupObjectName(), ObpParseSymbolicLink(), ObQueryObjectAuditingByHandle(), ObQuerySecurityDescriptorInfo(), ObReferenceObjectByHandle(), ObReferenceObjectByName(), ObReleaseObjectSecurity(), ObSetHandleAttributes(), ObSetSecurityDescriptorInfo(), ObSetSecurityObjectByPointer(), PciAddDevice(), PciAreBusNumbersConfigured(), PciAssignSlotResources(), PciCacheLegacyDeviceRouting(), PciCallDownIrpStack(), PciComputeNewCurrentSettings(), PciFdoIrpQueryCapabilities(), PciFdoIrpQueryDeviceRelations(), PciFdoIrpQueryInterface(), PciFdoIrpStartDevice(), PciGetBiosConfig(), PciGetDeviceCapabilities(), PciGetEnhancedCapabilities(), PciGetFunctionLimits(), PciGetHotPlugParameters(), PciInsertEntryAtHead(), PciInsertEntryAtTail(), PciIsDeviceOnDebugPath(), PciIsSlotPresentInParentMethod(), PciOpenKey(), PciPdoCreate(), PciPdoIrpQueryBusInformation(), PciPdoIrpQueryCapabilities(), PciPdoIrpQueryDeviceRelations(), PciPdoIrpQueryDeviceText(), PciPdoIrpQueryId(), PciPdoIrpQueryResourceRequirements(), PciPdoIrpQueryResources(), PciPdoIrpStartDevice(), PcipGetFunctionLimits(), PcipLinkSecondaryExtension(), PciProcessBus(), PciQueryDeviceRelations(), PciQueryForPciBusInterface(), PciQueryId(), PciQueryRequirements(), PciQueryResources(), PciQueryTargetDeviceRelations(), PciSaveBiosConfig(), PciSendIoctl(), PiGetDeviceRegistryProperty(), PipAllocateDeviceNode(), PnpDeviceObjectToDeviceInstance(), PoInitializeDeviceObject(), PopGetDope(), PopInitShutdownList(), PoRemoveVolumeDevice(), PoRequestShutdownEvent(), PoRequestShutdownWait(), PoVolumeDevice(), PpInitGetGroupOrderIndex(), PreloadGlobalMessageTable(), CMiniportWaveStreamCMI::prepareStream(), ProbeForRead(), ProbeForWrite(), CMiniportWaveCMI::processResources(), ProcessResources(), CMiniportDMusUART::ProcessResources(), PropertyHandler_ChannelConfig(), PropertyHandler_ComponentId(), PropertyHandler_CpuResources(), PropertyHandler_Level(), PropertyHandler_OnOff(), PropertyHandler_Private(), PropertyHandler_Synth(), PsAssignImpersonationToken(), PsChangeQuantumTable(), PsConvertToGuiThread(), PsCreateSystemThread(), PsDereferenceImpersonationToken(), PsDereferencePrimaryToken(), PsDisableImpersonation(), PsExitSpecialApc(), PsGetNextProcess(), PsGetNextProcessThread(), PsImpersonateClient(), PsLookupProcessByProcessId(), PsLookupProcessThreadByCid(), PsLookupThreadByThreadId(), PsOpenTokenOfProcess(), PspAssignPrimaryToken(), PspCatchCriticalBreak(), PspComputeQuantumAndPriority(), PspCreateProcess(), PspCreateThread(), PspDeleteProcess(), PspDeleteProcessSecurity(), PspDeleteThread(), PspDeleteThreadSecurity(), PspExitApcRundown(), PspExitNormalApc(), PspExitProcess(), PspExitThread(), PspGetContext(), PspGetOrSetContextKernelRoutine(), PspInitializeProcessSecurity(), PspQueryDescriptorThread(), PspSetContext(), PspTerminateProcess(), PspTerminateThreadByPointer(), PspUserThreadStartup(), PspWriteTebImpersonationInfo(), PsReferenceEffectiveToken(), PsReferenceImpersonationToken(), PsReferencePrimaryToken(), PsReferenceProcessFilePointer(), PsRemoveCreateThreadNotifyRoutine(), PsRemoveLoadImageNotifyRoutine(), PsRestoreImpersonation(), PsResumeProcess(), PsResumeThread(), PsRevertThreadToSelf(), PsRevertToSelf(), PsSetCreateProcessNotifyRoutine(), PsSetCreateThreadNotifyRoutine(), PsSetLoadImageNotifyRoutine(), PsSuspendProcess(), PsSuspendThread(), QSI_DEF(), CCMIAdapter::queryChip(), CMiniportDMusUART::QueryInterface(), CMiniportDMusUARTStream::QueryInterface(), QueueThread(), RawCleanup(), RawClose(), RawCreate(), RawDispatch(), RawFileSystemControl(), RawInitializeVcb(), RawMountVolume(), RawQueryFsAttributeInfo(), RawQueryFsDeviceInfo(), RawQueryFsSizeInfo(), RawQueryFsVolumeInfo(), RawQueryInformation(), RawQueryVolumeInformation(), RawReadWriteDeviceControl(), RawSetInformation(), RawUserFsCtrl(), ReadWritePassive(), ReassembleDatagram(), Recalibrate(), ResetChangeFlag(), CCMIAdapter::resetController(), ResetHardware(), RfsdAcquireForLazyWrite(), RfsdAcquireForReadAhead(), RfsdAddMcbNode(), RfsdAllocateAndLoadBlock(), RfsdAllocateCcb(), RfsdAllocateFcb(), RfsdAllocateIrpContext(), RfsdAllocateMcb(), RfsdAllowExtendedDasdIo(), RfsdBuildBDL2(), RfsdBuildRequest(), RfsdCheckBitmapConsistency(), RfsdCheckDismount(), RfsdCheckSetBlock(), RfsdCleanup(), RfsdClose(), RfsdCopyRead(), RfsdCreate(), RfsdCreateFcbFromMcb(), RfsdCreateFile(), RfsdCreateInode(), RfsdCreateVolume(), RfsdDeleteFile(), RfsdDeleteMcbNode(), RfsdDeQueueCloseRequest(), RfsdDeQueueRequest(), RfsdDeviceControl(), RfsdDeviceControlNormal(), RfsdDirectoryCallback(), RfsdDirectoryControl(), RfsdDiskIoControl(), RfsdDiskShutDown(), RfsdDismountVolume(), RfsdDispatchRequest(), RfsdExpandFile(), RfsdFastIoCheckIfPossible(), RfsdFastIoLock(), RfsdFastIoQueryBasicInfo(), RfsdFastIoQueryNetworkOpenInfo(), RfsdFastIoQueryStandardInfo(), RfsdFastIoUnlockAll(), RfsdFastIoUnlockAllByKey(), RfsdFastIoUnlockSingle(), RfsdFileSystemControl(), RfsdFindItemHeaderInBlock(), RfsdFloppyFlush(), RfsdFlush(), RfsdFlushFile(), RfsdFlushFiles(), RfsdFlushVolume(), RfsdFreeCcb(), RfsdFreeFcb(), RfsdFreeIrpContext(), RfsdFreeMcbTree(), RfsdFreeVcb(), RfsdGetFullFileName(), RfsdGetInfoLength(), RfsdGetUserBuffer(), RfsdInitializeVcb(), RfsdInodeTime(), RfsdIsDirectoryEmpty(), RfsdIsHandleCountZero(), RfsdIsMediaWriteProtected(), RfsdIsVolumeMounted(), RfsdLoadBlock(), RfsdLoadInode(), RfsdLoadItem(), RfsdLoadSuper(), RfsdLockControl(), RfsdLockUserBuffer(), RfsdLockVcb(), RfsdLockVolume(), RfsdLog2(), RfsdLookupFileName(), RfsdMediaEjectControl(), RfsdMountVolume(), RfsdNoOpAcquire(), RfsdNoOpRelease(), RfsdNotifyChangeDirectory(), RfsdOEMToUnicode(), RfsdParseFilesystemTree(), RfsdProcessDirEntry(), RfsdPurgeFile(), RfsdPurgeVolume(), RfsdQueryDirectory(), RfsdQueryInformation(), RfsdQueryVolumeInformation(), RfsdQueueCloseRequest(), RfsdQueueRequest(), RfsdRead(), RfsdReadComplete(), RfsdReadDisk(), RfsdReadFile(), RfsdReadInode(), RfsdReadSync(), RfsdReadVolume(), RfsdReadWriteBlocks(), RfsdRefreshMcb(), RfsdReleaseFromLazyWrite(), RfsdReleaseFromReadAhead(), RfsdScanDir(), RfsdScanDirCallback(), RfsdSearchMcb(), RfsdSearchMcbTree(), RfsdSetDispositionInfo(), RfsdSetInformation(), RfsdSetRenameInfo(), RfsdSetVolumeInformation(), RfsdShutDown(), RfsdStartFloppyFlushDpc(), RfsdSupersedeOrOverWriteFile(), RfsdSyncUninitializeCacheMap(), RfsdSysTime(), RfsdTruncateFile(), RfsdUnicodeToOEM(), RfsdUnlockVcb(), RfsdUnlockVolume(), RfsdUserFsRequest(), RfsdVerifyVolume(), RfsdWrite(), RfsdWriteComplete(), RfsdWriteFile(), RfsdWriteInode(), RfsdWriteVolume(), RfsdZeroHoles(), RtlGetVersion(), RtlLengthSidAndAttributes(), RWDetermineMediaType(), RWSeekToCylinder(), RxAddVirtualNetRootToNetRoot(), RxAdjustFileTimesAndSize(), RxAllocateCanonicalNameBuffer(), RxAllocateFcbObject(), RxAllocateObject(), RxBootstrapWorkerThreadDispatcher(), RxCanonicalizeFileNameByServerSpecs(), RxCanonicalizeNameAndObtainNetRoot(), RxChangeBufferingState(), RxCheckShareAccess(), RxCheckShareAccessPerSrvOpens(), RxCheckVNetRootCredentials(), RxCloseAssociatedSrvOpen(), RxCollapseOrCreateSrvOpen(), RxCommonCleanup(), RxCommonClose(), RxCommonCreate(), RxCommonDevFCBCleanup(), RxCommonDevFCBClose(), RxCommonDevFCBIoCtl(), RxCommonDeviceControl(), RxCommonDirectoryControl(), RxCommonQueryInformation(), RxCommonQueryVolumeInformation(), RxCommonRead(), RxCompleteMdl(), RxCompleteRequest(), RxConstructNetRoot(), RxConstructSrvCall(), RxConstructVirtualNetRoot(), RxCreateFromNetRoot(), RxCreateNetFcb(), RxCreateNetFobx(), RxCreateNetRoot(), RxCreateNetRootCallBack(), RxCreateSrvCall(), RxCreateSrvOpen(), RxCreateTreeConnect(), RxCreateVNetRoot(), RxDereference(), RxDumpCurrentAccess(), RxDumpWantedAccess(), RxExclusivePrefixTableLockToShared(), RxExtractServerName(), RxFastIoCheckIfPossible(), RxFastIoRead(), RxFcbTableInsertFcb(), RxFcbTableLookupFcb(), RxFcbTableRemoveFcb(), RxFinalizeConnection(), RxFinalizeFcbTable(), RxFinalizeNetFcb(), RxFinalizeNetFobx(), RxFinalizeNetRoot(), RxFinalizeSrvCall(), RxFinalizeSrvOpen(), RxFinalizeVNetRoot(), RxFindOrConstructVirtualNetRoot(), RxFindOrCreateConnections(), RxFindOrCreateFcb(), RxFinishFcbInitialization(), RxFirstCanonicalize(), RxFlushFcbInSystemCache(), RxFreeFcbObject(), RxFreeObject(), RxFsdDispatch(), RxFspDispatch(), RxGetDeviceObjectOfInstance(), RxGetFileSizeWithLock(), RxGetNetworkProviderPriority(), RxGetRegistryParameters(), RxGetSessionId(), RxGetStringRegistryParameter(), RxGetUid(), RxInitializeDispatcher(), RxInitializeDispatchVectors(), RxInitializeFcbTable(), RxInitializeLowIoContext(), RxInitializeLowIoPerFcbInfo(), RxInitializeMinirdrDispatchTable(), RxInitializeMRxDispatcher(), RxInitializePrefixTable(), RxInitializePurgeSyncronizationContext(), RxInitializeRegistrationStructures(), RxInitializeRxTimer(), RxInitializeSrvCallParameters(), RxInitializeVNetRootParameters(), RxInitializeWorkQueue(), RxInitializeWorkQueueDispatcher(), RxInitiateSrvOpenKeyAssociation(), RxLockUserBuffer(), RxLowIoCompletionTail(), RxLowIoIoCtlShellCompletion(), RxLowIoNotifyChangeDirectoryCompletion(), RxLowIoPopulateFsctlInfo(), RxLowIoReadShell(), RxLowIoReadShellCompletion(), RxLowIoSubmit(), RxMapSystemBuffer(), RxMarkFobxOnCleanup(), RxMarkFobxOnClose(), RxNewMapUserBuffer(), RxNotifyChangeDirectory(), RxOrphanSrvOpens(), RxpAcquirePrefixTableLockExclusive(), RxpAcquirePrefixTableLockShared(), RxpDereferenceAndFinalizeNetFcb(), RxpDereferenceNetFcb(), RxpDiscardChangeBufferingStateRequests(), RxpLookupSrvOpenForRequestLite(), RxpMarkInstanceForScavengedFinalization(), RxPostStackOverflowRead(), RxpReferenceNetFcb(), RxPrefixClaim(), RxPrefixTableInsertName(), RxPrefixTableLookupName(), RxpReleasePrefixTableLock(), RxPrepareContextForReuse(), RxPrepareRequestForReuse(), RxpTrackDereference(), RxpUndoScavengerFinalizationMarking(), RxPurgeChangeBufferingStateRequestsForSrvOpen(), RxPurgeFcb(), RxPurgeFcbInSystemCache(), RxPurgeFobxFromCache(), RxPurgeNetFcb(), RxQueryBasicInfo(), RxQueryDirectory(), RxQueryStandardInfo(), RxReadRegistryParameters(), RxReference(), RxRegisterMinirdr(), RxRemoveNameNetFcb(), RxRemovePrefixTableEntry(), RxRemoveShareAccess(), RxRemoveShareAccessPerSrvOpens(), RxRemoveVirtualNetRootFromNetRoot(), RxResumeBlockedOperations_ALL(), RxResumeBlockedOperations_Serially(), RxScavengeRelatedFobxs(), RxScavengerTimerRoutine(), RxSearchForCollapsibleOpen(), RxSetShareAccess(), RxSetupNetFileObject(), RxSpinUpWorkerThread(), RxTableComputeHashValue(), RxTableComputePathHashValue(), RxTableLookupName(), RxTableLookupName_ExactLengthMatch(), RxTearDownBufferingManager(), RxTryToBecomeTheTopLevelIrp(), RxUninitializeCacheMap(), RxUninitializeVNetRootParameters(), RxUpdateCondition(), RxUpdateShareAccess(), RxUpdateShareAccessPerSrvOpens(), RxVerifyOperationIsLegal(), RxWaitForStableCondition(), RxXXXControlFileCallthru(), ScanForSpecial(), ScanForSpecialHandler(), ScsiClassClaimDevice(), ScsiClassGetCapabilities(), ScsiClassGetInquiryData(), ScsiClassSendSrbAsynchronous(), ScsiClassSendSrbSynchronous(), ScsiDiskDeviceControl(), ScsiDiskModeSelect(), SeAccessCheck(), SeAppendPrivileges(), SeAssignPrimaryToken(), SeCaptureLuidAndAttributesArray(), SeCaptureSidAndAttributesArray(), SeCaptureSubjectContextEx(), SeCheckAuditPrivilege(), SeCheckPrivilegedObject(), SeCopyClientToken(), SeCreateAccessState(), SeCreateAccessStateEx(), SeCreateClientSecurity(), SeCreateClientSecurityFromSubjectContext(), SeDefaultObjectMethod(), SeDeleteAccessState(), SeExchangePrimaryToken(), SeFastTraverseCheck(), SeFreePrivileges(), SeGetTokenControlInformation(), SeImpersonateClient(), SeImpersonateClientEx(), SeInitializeProcessAuditName(), SeLocateProcessImageName(), SeLockSubjectContext(), Send_Byte(), SeOpenObjectAuditAlarm(), SepAccessCheck(), SepAccessCheckAndAuditAlarm(), SepAdtInitializeBounds(), SepCaptureAcl(), SepCaptureSecurityQualityOfService(), SepCaptureSid(), SepCreateClientSecurity(), SepCreateImpersonationTokenDacl(), SepCreateToken(), SepDuplicateToken(), SepInitializationPhase0(), SepInitializationPhase1(), SepPrivilegeCheck(), SepRegQueryHelper(), SepReleaseAcl(), SepReleaseSecurityQualityOfService(), SepReleaseSid(), SePrivilegeCheck(), SePrivilegedServiceAuditAlarm(), SePrivilegePolicyCheck(), SepRmCreateLogonSession(), SepRmReferenceLogonSession(), SepRmSetAuditEvent(), SepSidInTokenEx(), SepSinglePrivilegeCheck(), SeQueryAuthenticationIdToken(), SeQueryInformationToken(), SeReleaseLuidAndAttributesArray(), SeReleaseSecurityDescriptor(), SeReleaseSidAndAttributesArray(), SeReleaseSubjectContext(), SeSetAccessStateGenericMapping(), SeSinglePrivilegeCheck(), CMiniportWaveStreamCMI::setDACChannels(), SeTokenImpersonationLevel(), SeTokenIsAdmin(), SeTokenIsRestricted(), SeTokenIsWriteRestricted(), SeTokenType(), CMiniportWaveStreamCMI::setupAC3Passthru(), SetupEjectionTransferPacket(), SetupModeSenseTransferPacket(), CMiniportWaveStreamCMI::setupSPDIFPlayback(), SeUnlockSubjectContext(), StartDevice(), StartMotor(), STDMETHODIMP_(), CMiniportWaveCMI::storeChannelConfigToRegistry(), SuperblockContainsMagicKey(), SystemProcessTest(), SystemProcessTestWorker(), TestDirectoryControl(), TestDispatch(), TestEntry(), TestHidPDescription(), TestIrpHandler(), TestMessageHandler(), TestQueryInformation(), TestSetInformation(), TestUnload(), UDFCommonQueryVolInfo(), UDFCommonSetVolInfo(), UDFQueryFsAttributeInfo(), UDFQueryFsDeviceInfo(), UDFQueryFsFullSizeInfo(), UDFQueryFsSizeInfo(), UDFQueryFsVolumeInfo(), UDFSetLabelInfo(), Unload(), UpdateGeometry(), CMiniportWaveCMI::validateFormat(), VdmDispatchPageFault(), VdmEndExecution(), VdmpGetVdmTib(), VdmpStartExecution(), WaitForControllerInterrupt(), WmipIoControl(), WmipOpenCloseCleanup(), WmipOpenGuidObjectByName(), WmipSecurityMethod(), xHalAllocateMapRegisters(), xHalEndOfBoot(), xHalGetInterruptTranslator(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), xHalIoWritePartitionTable(), xHalQueryBusSlots(), xHalQuerySystemInformation(), xHalRegisterBusHandler(), xHalSetSystemInformation(), xHalStartMirroring(), CCMIAdapter::~CCMIAdapter(), CCMITopology::~CCMITopology(), CMiniportDMusUART::~CMiniportDMusUART(), CMiniportDMusUARTStream::~CMiniportDMusUARTStream(), CMiniportWaveCMI::~CMiniportWaveCMI(), and CMiniportWaveStreamCMI::~CMiniportWaveStreamCMI().

#define SET_DISPLAY_EVENT   0x02

Definition at line 105 of file video.h.

#define SET_USER_EVENT   0x01

Definition at line 104 of file video.h.

#define SIZE_OF_NT4_VIDEO_HW_INITIALIZATION_DATA   FIELD_OFFSET(VIDEO_HW_INITIALIZATION_DATA, HwStartDma)

Definition at line 119 of file video.h.

Referenced by VideoPortInitialize().

#define SIZE_OF_NT4_VIDEO_PORT_CONFIG_INFO   FIELD_OFFSET(VIDEO_PORT_CONFIG_INFO, Master)

Definition at line 101 of file video.h.

#define SIZE_OF_W2K_VIDEO_HW_INITIALIZATION_DATA   FIELD_OFFSET(VIDEO_HW_INITIALIZATION_DATA, Reserved)

Definition at line 120 of file video.h.

Referenced by VideoPortInitialize().

#define SIZE_OF_WXP_VIDEO_HW_INITIALIZATION_DATA   (SIZE_OF_W2K_VIDEO_HW_INITIALIZATION_DATA + sizeof(ULONG))

Definition at line 121 of file video.h.

#define SIZE_OF_WXP_VIDEO_PORT_CONFIG_INFO   sizeof(VIDEO_PORT_CONFIG_INFO)

Definition at line 102 of file video.h.

#define SYNCHRONIZATION_EVENT   0

Definition at line 108 of file video.h.

#define VIDEO_DEBUG_REPORT_MAX_SIZE   0x8000

Definition at line 151 of file video.h.

#define VIDEO_ENUM_INVALID_DEVICE   ERROR_INVALID_NAME

Definition at line 141 of file video.h.

Referenced by VideoPortEnumerateChildren().

#define VIDEO_ENUM_MORE_DEVICES   ERROR_CONTINUE

Definition at line 139 of file video.h.

Referenced by VBEGetVideoChildDescriptor(), and VideoPortEnumerateChildren().

#define VIDEO_ENUM_NO_MORE_DEVICES   ERROR_NO_MORE_DEVICES

Definition at line 140 of file video.h.

Referenced by VBEGetVideoChildDescriptor(), and VideoPortEnumerateChildren().

#define VIDEO_INVALID_CHILD_ID   0xFFFFFFFF

Definition at line 117 of file video.h.

#define VIDEO_MEMORY_SPACE_DENSE   0x04

Definition at line 135 of file video.h.

Referenced by IntVideoPortMapMemory().

#define VIDEO_MEMORY_SPACE_IO   0x01

Definition at line 133 of file video.h.

#define VIDEO_MEMORY_SPACE_MEMORY   0x00
#define VIDEO_MEMORY_SPACE_P6CACHE   0x08

Definition at line 136 of file video.h.

Referenced by IntVideoPortMapMemory().

#define VIDEO_MEMORY_SPACE_USER_MODE   0x02

Definition at line 134 of file video.h.

Referenced by IntVideoPortMapMemory().

#define VIDEO_PORT_AGP_INTERFACE_VERSION_1   1

Definition at line 123 of file video.h.

Referenced by IntAgpGetInterface(), VideoPortGetAgpServices(), and VideoPortQueryServices().

#define VIDEO_PORT_AGP_INTERFACE_VERSION_2   2

Definition at line 124 of file video.h.

Referenced by IntAgpGetInterface(), and VideoPortQueryServices().

#define VIDEO_PORT_DEBUG_REPORT_INTERFACE_VERSION_1   1

Definition at line 129 of file video.h.

#define VIDEO_PORT_I2C_INTERFACE_VERSION_1   1

Definition at line 125 of file video.h.

#define VIDEO_PORT_I2C_INTERFACE_VERSION_2   2

Definition at line 126 of file video.h.

#define VIDEO_PORT_INT10_INTERFACE_VERSION_1   1

Definition at line 127 of file video.h.

Referenced by InitializeModeTable(), VBEInitialize(), and VideoPortQueryServices().

#define VIDEO_PORT_WCMEMORYPROTECTION_INTERFACE_VERSION_1   1

Definition at line 128 of file video.h.

#define VIDEO_RANGE_10_BIT_DECODE   2
#define VIDEO_RANGE_PASSIVE_DECODE   1
#define VPAPI   DECLSPEC_IMPORT

Definition at line 47 of file video.h.

Typedef Documentation

Definition at line 154 of file video.h.

typedef struct __DMA_PARAMETERS* PDMA

Definition at line 158 of file video.h.

typedef VP_STATUS(NTAPI * PDRIVER_IO_PORT_UCHAR)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUCHAR Data)

Definition at line 589 of file video.h.

typedef VP_STATUS(NTAPI * PDRIVER_IO_PORT_UCHAR_STRING)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUCHAR Data, IN ULONG DataLength)

Definition at line 596 of file video.h.

typedef VP_STATUS(NTAPI * PDRIVER_IO_PORT_ULONG)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PULONG Data)

Definition at line 604 of file video.h.

typedef VP_STATUS(NTAPI * PDRIVER_IO_PORT_ULONG_STRING)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PULONG Data, IN ULONG DataLength)

Definition at line 611 of file video.h.

typedef VP_STATUS(NTAPI * PDRIVER_IO_PORT_USHORT)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUSHORT Data)

Definition at line 619 of file video.h.

typedef VP_STATUS(NTAPI * PDRIVER_IO_PORT_USHORT_STRING)(IN ULONG_PTR Context, IN ULONG Port, IN UCHAR AccessMode, IN PUSHORT Data, IN ULONG DataLength)

Definition at line 626 of file video.h.

typedef VOID(NTAPI * PEXECUTE_DMA)(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN PVP_SCATTER_GATHER_LIST SGList, IN PVOID Context)

Definition at line 253 of file video.h.

typedef BOOLEAN(NTAPI * PI2C_READ)(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks, OUT PUCHAR Buffer, IN ULONG Length)

Definition at line 394 of file video.h.

typedef BOOLEAN(NTAPI * PI2C_READ_2)(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl, OUT PUCHAR Buffer, IN ULONG Length, IN BOOLEAN EndOfRead)

Definition at line 426 of file video.h.

typedef BOOLEAN(NTAPI * PI2C_START)(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks)

Definition at line 377 of file video.h.

typedef BOOLEAN(NTAPI * PI2C_START_2)(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl)

Definition at line 409 of file video.h.

typedef BOOLEAN(NTAPI * PI2C_STOP)(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks)

Definition at line 382 of file video.h.

typedef BOOLEAN(NTAPI * PI2C_STOP_2)(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl)

Definition at line 414 of file video.h.

typedef BOOLEAN(NTAPI * PI2C_WRITE)(IN PVOID HwDeviceExtension, IN PI2C_CALLBACKS I2CCallbacks, IN PUCHAR Buffer, IN ULONG Length)

Definition at line 387 of file video.h.

typedef BOOLEAN(NTAPI * PI2C_WRITE_2)(IN PVOID HwDeviceExtension, IN PVIDEO_I2C_CONTROL I2CControl, IN PUCHAR Buffer, IN ULONG Length)

Definition at line 419 of file video.h.

typedef VP_STATUS(NTAPI * PINT10_ALLOCATE_BUFFER)(IN PVOID Context, OUT PUSHORT Seg, OUT PUSHORT Off, IN OUT PULONG Length)

Definition at line 451 of file video.h.

typedef VP_STATUS(NTAPI * PINT10_CALL_BIOS)(IN PVOID Context, IN OUT PINT10_BIOS_ARGUMENTS BiosArguments)

Definition at line 446 of file video.h.

typedef VP_STATUS(NTAPI * PINT10_FREE_BUFFER)(IN PVOID Context, IN USHORT Seg, IN USHORT Off)

Definition at line 458 of file video.h.

typedef VP_STATUS(NTAPI * PINT10_READ_MEMORY)(IN PVOID Context, IN USHORT Seg, IN USHORT Off, OUT PVOID Buffer, IN ULONG Length)

Definition at line 464 of file video.h.

typedef VP_STATUS(NTAPI * PINT10_WRITE_MEMORY)(IN PVOID Context, IN USHORT Seg, IN USHORT Off, IN PVOID Buffer, IN ULONG Length)

Definition at line 472 of file video.h.

typedef VOID(NTAPI * PMINIPORT_DPC_ROUTINE)(IN PVOID HwDeviceExtension, IN PVOID Context)

Definition at line 518 of file video.h.

typedef VP_STATUS(NTAPI * PMINIPORT_GET_REGISTRY_ROUTINE)(IN PVOID HwDeviceExtension, IN PVOID Context, IN OUT PWSTR ValueName, IN OUT PVOID ValueData, IN ULONG ValueLength)

Definition at line 510 of file video.h.

typedef VP_STATUS(NTAPI * PMINIPORT_QUERY_DEVICE_ROUTINE)(IN PVOID HwDeviceExtension, IN PVOID Context, IN VIDEO_DEVICE_DATA_TYPE DeviceDataType, IN PVOID Identifier, IN ULONG IdentifierLength, IN PVOID ConfigurationData, IN ULONG ConfigurationDataLength, IN OUT PVOID ComponentInformation, IN ULONG ComponentInformationLength)

Definition at line 498 of file video.h.

typedef BOOLEAN(NTAPI * PMINIPORT_SYNCHRONIZE_ROUTINE)(IN PVOID Context)

Definition at line 523 of file video.h.

typedef VP_STATUS(NTAPI * PROTECT_WC_MEMORY)(IN PVOID Context, IN PVOID HwDeviceExtension)

Definition at line 480 of file video.h.

typedef struct _VIDEO_PORT_SPIN_LOCK* PSPIN_LOCK

Definition at line 156 of file video.h.

typedef VOID(NTAPI * PVIDEO_BUGCHECK_CALLBACK)(IN PVOID HwDeviceExtension, IN ULONG BugcheckCode, IN PUCHAR Buffer, IN ULONG BufferSize)

Definition at line 527 of file video.h.

typedef struct _VIDEO_DEBUG_REPORT* PVIDEO_DEBUG_REPORT

Definition at line 157 of file video.h.

typedef VP_STATUS(NTAPI * PVIDEO_HW_CHILD_CALLBACK)(PVOID HwDeviceExtension, PVOID ChildDeviceExtension)

Definition at line 311 of file video.h.

typedef VP_STATUS(NTAPI * PVIDEO_HW_FIND_ADAPTER)(IN PVOID HwDeviceExtension, IN PVOID HwContext, IN PWSTR ArgumentString, IN OUT PVIDEO_PORT_CONFIG_INFO ConfigInfo, OUT PUCHAR Again)

Definition at line 199 of file video.h.

typedef VP_STATUS(NTAPI * PVIDEO_HW_GET_CHILD_DESCRIPTOR)(IN PVOID HwDeviceExtension, IN PVIDEO_CHILD_ENUM_INFO ChildEnumInfo, OUT PVIDEO_CHILD_TYPE VideoChildType, OUT PUCHAR pChildDescriptor, OUT PULONG UId, OUT PULONG pUnused)

Definition at line 277 of file video.h.

typedef BOOLEAN(NTAPI * PVIDEO_HW_INITIALIZE)(IN PVOID HwDeviceExtension)

Definition at line 207 of file video.h.

typedef BOOLEAN(NTAPI * PVIDEO_HW_INTERRUPT)(IN PVOID HwDeviceExtension)

Definition at line 211 of file video.h.

typedef VOID(NTAPI * PVIDEO_HW_LEGACYRESOURCES)(IN ULONG VendorId, IN ULONG DeviceId, IN OUT PVIDEO_ACCESS_RANGE *LegacyResourceList, IN OUT PULONG LegacyResourceCount)

Definition at line 224 of file video.h.

typedef VP_STATUS(NTAPI * PVIDEO_HW_POWER_GET)(IN PVOID HwDeviceExtension, IN ULONG HwId, IN OUT PVIDEO_POWER_MANAGEMENT VideoPowerControl)

Definition at line 292 of file video.h.

typedef VP_STATUS(NTAPI * PVIDEO_HW_POWER_SET)(IN PVOID HwDeviceExtension, IN ULONG HwId, IN PVIDEO_POWER_MANAGEMENT VideoPowerControl)

Definition at line 286 of file video.h.

typedef VP_STATUS(NTAPI * PVIDEO_HW_QUERY_INTERFACE)(IN PVOID HwDeviceExtension, IN OUT PQUERY_INTERFACE QueryInterface)

Definition at line 306 of file video.h.

typedef BOOLEAN(NTAPI * PVIDEO_HW_RESET_HW)(IN PVOID HwDeviceExtension, IN ULONG Columns, IN ULONG Rows)

Definition at line 316 of file video.h.

typedef HW_DMA_RETURN(NTAPI * PVIDEO_HW_START_DMA)(PVOID HwDeviceExtension, PDMA pDma)

Definition at line 236 of file video.h.

typedef BOOLEAN(NTAPI * PVIDEO_HW_START_IO)(IN PVOID HwDeviceExtension, IN PVIDEO_REQUEST_PACKET RequestPacket)

Definition at line 339 of file video.h.

typedef VOID(NTAPI * PVIDEO_HW_TIMER)(IN PVOID HwDeviceExtension)

Definition at line 344 of file video.h.

typedef PVOID(NTAPI * PVIDEO_PORT_GET_PROC_ADDRESS)(IN PVOID HwDeviceExtension, IN PUCHAR FunctionName)

Definition at line 162 of file video.h.

typedef BOOLEAN(NTAPI * PVIDEO_READ_CLOCK_LINE)(PVOID HwDeviceExtension)

Definition at line 358 of file video.h.

typedef BOOLEAN(NTAPI * PVIDEO_READ_DATA_LINE)(PVOID HwDeviceExtension)

Definition at line 362 of file video.h.

typedef VOID(NTAPI * PVIDEO_WAIT_VSYNC_ACTIVE)(PVOID HwDeviceExtension)

Definition at line 366 of file video.h.

typedef VOID(NTAPI * PVIDEO_WRITE_CLOCK_LINE)(PVOID HwDeviceExtension, UCHAR Data)

Definition at line 348 of file video.h.

typedef VOID(NTAPI * PVIDEO_WRITE_DATA_LINE)(PVOID HwDeviceExtension, UCHAR Data)

Definition at line 353 of file video.h.

typedef struct __VP_DMA_ADAPTER* PVP_DMA_ADAPTER

Definition at line 159 of file video.h.

typedef LONG * PVP_STATUS

Definition at line 153 of file video.h.

typedef struct __VRB_SG * PVRB_SG
typedef VP_STATUS(NTAPI * RESTORE_WC_MEMORY)(IN PVOID Context, IN PVOID HwDeviceExtension)

Definition at line 485 of file video.h.

typedef LONG VP_STATUS

Definition at line 153 of file video.h.

Enumeration Type Documentation

Enumerator
VideoPortUnlockAfterDma 
VideoPortKeepPagesLocked 
VideoPortDmaInitOnly 

Definition at line 548 of file video.h.

Enumerator
DmaAsyncReturn 
DmaSyncReturn 

Definition at line 230 of file video.h.

230  {
enum _HW_DMA_RETURN HW_DMA_RETURN
enum _HW_DMA_RETURN * PHW_DMA_RETURN
Enumerator
Monitor 
NonPrimaryChip 
VideoChip 
Other 

Definition at line 269 of file video.h.

269  {
270  Monitor = 1,
272  VideoChip,
273  Other
Definition: video.h:273
enum _VIDEO_CHILD_TYPE VIDEO_CHILD_TYPE
Definition: video.h:270
enum _VIDEO_CHILD_TYPE * PVIDEO_CHILD_TYPE
Enumerator
VpMachineData 
VpCmosData 
VpBusData 
VpControllerData 
VpMonitorData 

Definition at line 489 of file video.h.

489  {
490  VpMachineData = 0,
491  VpCmosData,
492  VpBusData,
enum _VIDEO_DEVICE_DATA_TYPE * PVIDEO_DEVICE_DATA_TYPE
enum _VIDEO_DEVICE_DATA_TYPE VIDEO_DEVICE_DATA_TYPE
Enumerator
VideoPortServicesAGP 
VideoPortServicesI2C 
VideoPortServicesHeadless 
VideoPortServicesInt10 
VideoPortServicesDebugReport 
VideoPortServicesWCMemoryProtection 

Definition at line 704 of file video.h.

Enumerator
VpReadAccess 
VpWriteAccess 
VpModifyAccess 

Definition at line 640 of file video.h.

640  {
641  VpReadAccess = 0,
enum _VP_LOCK_OPERATION VP_LOCK_OPERATION
Enumerator
VpNonPagedPool 
VpPagedPool 
VpNonPagedPoolCacheAligned 
VpPagedPoolCacheAligned 

Definition at line 541 of file video.h.

541  {
542  VpNonPagedPool = 0,
543  VpPagedPool,
enum _VP_POOL_TYPE * PVP_POOL_TYPE
enum _VP_POOL_TYPE VP_POOL_TYPE
Enumerator
Error 
Warn 
Trace 
Info 

Definition at line 579 of file video.h.

579  {
580  Error = 0,
581  Warn,
582  Trace,
583  Info
enum VIDEO_DEBUG_LEVEL * PVIDEO_DEBUG_LEVEL
Definition: video.h:583
Definition: video.h:581
Definition: video.h:582
VIDEO_DEBUG_LEVEL
Definition: video.h:579
Definition: video.h:580
Enumerator
VpLowPriority 
VpMediumPriority 
VpHighPriority 

Definition at line 534 of file video.h.

534  {
535  VpLowPriority = 0,
enum VIDEO_SYNCHRONIZE_PRIORITY * PVIDEO_SYNCHRONIZE_PRIORITY
VIDEO_SYNCHRONIZE_PRIORITY
Definition: video.h:534

Function Documentation

ULONG NTAPI DriverEntry ( PVOID  Context1,
PVOID  Context2 
)

Definition at line 153 of file vga.c.

179 {
180 
181  VIDEO_HW_INITIALIZATION_DATA hwInitData;
182  ULONG status;
183  ULONG initializationStatus = (ULONG) -1;
184 
185  //
186  // Zero out structure.
187  //
188 
190 
191  //
192  // Specify sizes of structure and extension.
193  //
194 
195  hwInitData.HwInitDataSize = sizeof(VIDEO_HW_INITIALIZATION_DATA);
196 
197  //
198  // Set entry points.
199  //
200 
201  hwInitData.HwFindAdapter = VgaFindAdapter;
202  hwInitData.HwInitialize = VgaInitialize;
203  hwInitData.HwInterrupt = NULL;
204  hwInitData.HwStartIO = VgaStartIO;
205 
206  //
207  // Determine the size we require for the device extension.
208  //
209 
210  hwInitData.HwDeviceExtensionSize = sizeof(HW_DEVICE_EXTENSION);
211 
212  //
213  // Always start with parameters for device0 in this case.
214  // We can leave it like this since we know we will only ever find one
215  // VGA type adapter in a machine.
216  //
217 
218  // hwInitData.StartingDeviceNumber = 0;
219 
220  //
221  // Once all the relevant information has been stored, call the video
222  // port driver to do the initialization.
223  // For this device we will repeat this call three times, for ISA, EISA
224  // and PCI.
225  // We will return the minimum of all return values.
226  //
227 
228  //
229  // We will try the PCI bus first so that our ISA detection does'nt claim
230  // PCI cards (since it is impossible to differentiate between the two
231  // by looking at the registers).
232  //
233 
234  //
235  // NOTE: since this driver only supports one adapter, we will return
236  // as soon as we find a device, without going on to the following buses.
237  // Normally one would call for each bus type and return the smallest
238  // value.
239  //
240 
241 #if !defined(_ALPHA_)
242 
243  //
244  // Before we can enable this on ALPHA we need to find a way to map a
245  // sparse view of a 4MB region successfully.
246  //
247 
248  hwInitData.AdapterInterfaceType = PCIBus;
249 
250  initializationStatus = VideoPortInitialize(Context1,
251  Context2,
252  &hwInitData,
253  NULL);
254 
255  if (initializationStatus == NO_ERROR)
256  {
257  return initializationStatus;
258  }
259 
260 #endif
261 
262  hwInitData.AdapterInterfaceType = MicroChannel;
263 
264  initializationStatus = VideoPortInitialize(Context1,
265  Context2,
266  &hwInitData,
267  NULL);
268 
269  //
270  // Return immediately instead of checkin for smallest return code.
271  //
272 
273  if (initializationStatus == NO_ERROR)
274  {
275  return initializationStatus;
276  }
277 
278 
279  hwInitData.AdapterInterfaceType = Internal;
280 
281  initializationStatus = VideoPortInitialize(Context1,
282  Context2,
283  &hwInitData,
284  NULL);
285 
286  if (initializationStatus == NO_ERROR)
287  {
288  return initializationStatus;
289  }
290 
291 
292  hwInitData.AdapterInterfaceType = Isa;
293 
294  initializationStatus = VideoPortInitialize(Context1,
295  Context2,
296  &hwInitData,
297  NULL);
298 
299  if (initializationStatus == NO_ERROR)
300  {
301  return initializationStatus;
302  }
303 
304 
305 
306  hwInitData.AdapterInterfaceType = Eisa;
307 
308  status = VideoPortInitialize(Context1,
309  Context2,
310  &hwInitData,
311  NULL);
312 
313  if (initializationStatus > status) {
314  initializationStatus = status;
315  }
316 
317  return initializationStatus;
318 
319 } // end DriverEntry()
INTERFACE_TYPE AdapterInterfaceType
Definition: video.h:665
VPAPI ULONG NTAPI VideoPortInitialize(IN PVOID Argument1, IN PVOID Argument2, IN PVIDEO_HW_INITIALIZATION_DATA HwInitializationData, IN PVOID HwContext)
Definition: videoprt.c:457
#define NO_ERROR
Definition: dderror.h:5
VPAPI VOID NTAPI VideoPortZeroMemory(IN PVOID Destination, IN ULONG Length)
PVIDEO_HW_START_IO HwStartIO
Definition: video.h:669
struct _HW_DEVICE_EXTENSION HW_DEVICE_EXTENSION
smooth NULL
Definition: ftsmooth.c:513
struct _VIDEO_HW_INITIALIZATION_DATA VIDEO_HW_INITIALIZATION_DATA
_In_ PLARGE_INTEGER _In_ ULONG _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ PVOID _In_ PVOID Context2
Definition: cctypes.h:53
PVIDEO_HW_INITIALIZE HwInitialize
Definition: video.h:667
BOOLEAN NTAPI VgaStartIO(PVOID HwDeviceExtension, PVIDEO_REQUEST_PACKET RequestPacket)
Definition: vga.c:550
PVIDEO_HW_FIND_ADAPTER HwFindAdapter
Definition: video.h:666
VP_STATUS NTAPI VgaFindAdapter(PVOID HwDeviceExtension, PVOID HwContext, PWSTR ArgumentString, PVIDEO_PORT_CONFIG_INFO ConfigInfo, PUCHAR Again)
Definition: vga.c:324
BOOLEAN NTAPI VgaInitialize(PVOID HwDeviceExtension)
Definition: vga.c:507
PVIDEO_HW_INTERRUPT HwInterrupt
Definition: video.h:668
_In_ PLARGE_INTEGER _In_ ULONG _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ PVOID Context1
Definition: cctypes.h:53
unsigned int ULONG
Definition: retypes.h:1
static SERVICE_STATUS status
Definition: service.c:26
VPAPI VOID NTAPI VideoPortAcquireDeviceLock ( IN PVOID  HwDeviceExtension)

Definition at line 1335 of file videoprt.c.

1337 {
1338  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
1339  NTSTATUS Status;
1340  (void)Status;
1341 
1342  TRACE_(VIDEOPRT, "VideoPortAcquireDeviceLock\n");
1343  DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
1344  Status = KeWaitForMutexObject(&DeviceExtension->DeviceLock, Executive,
1345  KernelMode, FALSE, NULL);
1346  // ASSERT(Status == STATUS_SUCCESS);
1347 }
#define KeWaitForMutexObject
Definition: kefuncs.h:568
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
#define FALSE
Definition: types.h:117
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:47
smooth NULL
Definition: ftsmooth.c:513
#define TRACE_(x)
Definition: compat.h:66
Status
Definition: gdiplustypes.h:24
LONG NTSTATUS
Definition: DriverTester.h:11
VPAPI VOID NTAPI VideoPortAcquireSpinLock ( IN PVOID  HwDeviceExtension,
IN PSPIN_LOCK  SpinLock,
OUT PUCHAR  OldIrql 
)

Definition at line 63 of file spinlock.c.

67 {
68  TRACE_(VIDEOPRT, "VideoPortAcquireSpinLock\n");
70 }
VOID NTAPI KeAcquireSpinLock(PKSPIN_LOCK SpinLock, PKIRQL OldIrql)
Definition: spinlock.c:50
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
#define TRACE_(x)
Definition: compat.h:66
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:803
VPAPI VOID NTAPI VideoPortAcquireSpinLockAtDpcLevel ( IN PVOID  HwDeviceExtension,
IN PSPIN_LOCK  SpinLock 
)

Definition at line 77 of file spinlock.c.

80 {
81  TRACE_(VIDEOPRT, "VideoPortAcquireSpinLockAtDpcLevel\n");
83 }
VOID NTAPI KeAcquireSpinLockAtDpcLevel(IN PKSPIN_LOCK SpinLock)
Definition: spinlock.c:192
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
#define TRACE_(x)
Definition: compat.h:66
VPAPI VP_STATUS NTAPI VideoPortAllocateBuffer ( IN PVOID  HwDeviceExtension,
IN ULONG  Size,
OUT PVOID Buffer 
)

Definition at line 939 of file resource.c.

943 {
944  TRACE_(VIDEOPRT, "VideoPortAllocateBuffer\n");
947 }
#define ERROR_NOT_ENOUGH_MEMORY
Definition: dderror.h:7
#define NO_ERROR
Definition: dderror.h:5
#define TAG_VIDEO_PORT_BUFFER
Definition: videoprt.h:36
smooth NULL
Definition: ftsmooth.c:513
Definition: bufpool.h:45
UINTN Size
Definition: acefiex.h:550
#define TRACE_(x)
Definition: compat.h:66
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
VPAPI PVOID NTAPI VideoPortAllocateCommonBuffer ( IN PVOID  HwDeviceExtension,
IN PVP_DMA_ADAPTER  VpDmaAdapter,
IN ULONG  DesiredLength,
OUT PPHYSICAL_ADDRESS  LogicalAddress,
IN BOOLEAN  CacheEnabled,
PVOID  Reserved 
)

Definition at line 43 of file dma.c.

Referenced by VideoPortGetCommonBuffer().

49 {
50  PVIP_DMA_ADAPTER Adapter = (PVIP_DMA_ADAPTER)VpDmaAdapter;
51 
52  /* check for valid arguments */
53  if (!Adapter || !Adapter->Adapter)
54  {
55  /* invalid parameter */
56  return NULL;
57  }
58 
59  /* allocate common buffer */
60  return Adapter->Adapter->DmaOperations->AllocateCommonBuffer(Adapter->Adapter, DesiredLength, LogicalAddress, CacheEnabled);
61 }
struct _DMA_OPERATIONS * DmaOperations
Definition: iotypes.h:2181
smooth NULL
Definition: ftsmooth.c:513
struct VIP_DMA_ADAPTER * PVIP_DMA_ADAPTER
PDMA_ADAPTER Adapter
Definition: dma.c:19
VPAPI PVOID NTAPI VideoPortAllocateContiguousMemory ( IN PVOID  HwDeviceExtension,
IN ULONG  NumberOfBytes,
IN PHYSICAL_ADDRESS  HighestAcceptableAddress 
)

Definition at line 1384 of file videoprt.c.

1389 {
1390 
1392 }
IN SIZE_T NumberOfBytes
Definition: ndis.h:3914
_Out_ PNDIS_HANDLE _Out_ PUINT _In_ PNDIS_STRING _In_ NDIS_PHYSICAL_ADDRESS HighestAcceptableAddress
Definition: ndis.h:3208
PVOID NTAPI MmAllocateContiguousMemory(IN SIZE_T NumberOfBytes, IN PHYSICAL_ADDRESS HighestAcceptableAddress)
Definition: contmem.c:621
VPAPI PVOID NTAPI VideoPortAllocatePool ( IN PVOID  HwDeviceExtension,
IN VP_POOL_TYPE  PoolType,
IN SIZE_T  NumberOfBytes,
IN ULONG  Tag 
)

Definition at line 912 of file resource.c.

Referenced by InitializeModeTable(), VbeGetVideoMemoryBaseAddress(), VBEInitialize(), and VbeSetColorLookup().

917 {
918  TRACE_(VIDEOPRT, "VideoPortAllocatePool\n");
920 }
#define TRACE_(x)
Definition: compat.h:66
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
IN REFCLSID IN PUNKNOWN IN POOL_TYPE PoolType
Definition: unknown.h:68
IN SIZE_T NumberOfBytes
Definition: ndis.h:3914
IN ULONG IN ULONG Tag
Definition: evtlib.h:153
VPAPI PDMA NTAPI VideoPortAssociateEventsWithDmaHandle ( IN PVOID  HwDeviceExtension,
IN OUT PVIDEO_REQUEST_PACKET  pVrp,
IN PVOID  MappedUserEvent,
IN PVOID  DisplayDriverEvent 
)

Definition at line 439 of file dma.c.

443 {
444  /* Deprecated */
445  return NULL;
446 }
smooth NULL
Definition: ftsmooth.c:513
VPAPI BOOLEAN NTAPI VideoPortCheckForDeviceExistence ( IN PVOID  HwDeviceExtension,
IN USHORT  VendorId,
IN USHORT  DeviceId,
IN UCHAR  RevisionId,
IN USHORT  SubVendorId,
IN USHORT  SubSystemId,
IN ULONG  Flags 
)

Definition at line 1243 of file videoprt.c.

1251 {
1252  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
1255  IO_STACK_LOCATION IoStack;
1256  ULONG PciFlags = 0;
1257  NTSTATUS Status;
1258  BOOL DevicePresent;
1259 
1260  TRACE_(VIDEOPRT, "VideoPortCheckForDeviceExistence\n");
1261 
1263  {
1264  WARN_(VIDEOPRT, "VideoPortCheckForDeviceExistence: Unknown flags 0x%lx\n", Flags & ~(CDE_USE_REVISION | CDE_USE_SUBSYSTEM_IDS));
1265  return FALSE;
1266  }
1267 
1268  DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
1269 
1270  PciDevicePresentInterface.Size = sizeof(PCI_DEVICE_PRESENT_INTERFACE);
1271  PciDevicePresentInterface.Version = 1;
1272  IoStack.Parameters.QueryInterface.Size = PciDevicePresentInterface.Size;
1273  IoStack.Parameters.QueryInterface.Version = PciDevicePresentInterface.Version;
1274  IoStack.Parameters.QueryInterface.Interface = (PINTERFACE)&PciDevicePresentInterface;
1275  IoStack.Parameters.QueryInterface.InterfaceType =
1276  &GUID_PCI_DEVICE_PRESENT_INTERFACE;
1277  Status = IopInitiatePnpIrp(DeviceExtension->NextDeviceObject,
1278  &IoStatusBlock, IRP_MN_QUERY_INTERFACE, &IoStack);
1279  if (!NT_SUCCESS(Status))
1280  {
1281  WARN_(VIDEOPRT, "IopInitiatePnpIrp() failed! (Status 0x%lx)\n", Status);
1282  return FALSE;
1283  }
1284 
1285  if (Flags & CDE_USE_REVISION)
1286  PciFlags |= PCI_USE_REVISION;
1288  PciFlags |= PCI_USE_SUBSYSTEM_IDS;
1289 
1290  DevicePresent = PciDevicePresentInterface.IsDevicePresent(
1291  VendorId, DeviceId, RevisionId,
1292  SubVendorId, SubSystemId, PciFlags);
1293 
1294  PciDevicePresentInterface.InterfaceDereference(PciDevicePresentInterface.Context);
1295 
1296  return DevicePresent;
1297 }
union _IO_STACK_LOCATION::@3383 Parameters
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
struct _PCI_DEVICE_PRESENT_INTERFACE PCI_DEVICE_PRESENT_INTERFACE
#define PCI_USE_REVISION
Definition: iotypes.h:834
struct _IO_STACK_LOCATION::@3383::@3406 QueryInterface
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
#define FALSE
Definition: types.h:117
#define CDE_USE_REVISION
Definition: video.h:147
struct _INTERFACE * PINTERFACE
#define TRACE_(x)
Definition: compat.h:66
#define CDE_USE_SUBSYSTEM_IDS
Definition: video.h:146
unsigned int BOOL
Definition: ntddk_ex.h:94
PINTERFACE_DEREFERENCE InterfaceDereference
Definition: iotypes.h:891
#define IRP_MN_QUERY_INTERFACE
PDEVICE_OBJECT NextDeviceObject
Definition: videoprt.h:86
Status
Definition: gdiplustypes.h:24
#define NT_SUCCESS(StatCode)
Definition: cmd.c:149
LONG NTSTATUS
Definition: DriverTester.h:11
PPCI_IS_DEVICE_PRESENT IsDevicePresent
Definition: iotypes.h:892
static OUT PIO_STATUS_BLOCK IoStatusBlock
Definition: pipe.c:75
unsigned int ULONG
Definition: retypes.h:1
PCI_INTERFACE PciDevicePresentInterface
Definition: devhere.c:18
NTSTATUS NTAPI IopInitiatePnpIrp(IN PDEVICE_OBJECT DeviceObject, IN PIO_STATUS_BLOCK IoStatusBlock, IN UCHAR MinorFunction, IN PIO_STACK_LOCATION Stack)
#define WARN_(ch,...)
Definition: debug.h:156
#define PCI_USE_SUBSYSTEM_IDS
Definition: iotypes.h:833
VPAPI VOID NTAPI VideoPortClearEvent ( IN PVOID  HwDeviceExtension,
IN PEVENT  pEvent 
)

Definition at line 98 of file event.c.

100 {
101  KeClearEvent(Event->pKEvent);
102 }
VOID NTAPI KeClearEvent(IN PKEVENT Event)
Definition: eventobj.c:22
VPAPI ULONG NTAPI VideoPortCompareMemory ( IN PVOID  Source1,
IN PVOID  Source2,
IN SIZE_T  Length 
)

Referenced by VBEInitialize().

VPAPI VP_STATUS NTAPI VideoPortCompleteDma ( IN PVOID  HwDeviceExtension,
IN PVP_DMA_ADAPTER  VpDmaAdapter,
IN PVP_SCATTER_GATHER_LIST  VpScatterGather,
IN BOOLEAN  WriteToDevice 
)

Definition at line 453 of file dma.c.

457 {
458  KIRQL OldIrql;
459  PVIP_DMA_ADAPTER Adapter = (PVIP_DMA_ADAPTER)VpDmaAdapter;
460 
461  KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
462  Adapter->Adapter->DmaOperations->PutScatterGatherList(Adapter->Adapter, (PSCATTER_GATHER_LIST)VpScatterGather, WriteToDevice);
463  KeLowerIrql(OldIrql);
464 
465  return NO_ERROR;
466 }
#define KeRaiseIrql(irql, oldIrql)
Definition: env_spec_w32.h:597
#define KeLowerIrql(oldIrql)
Definition: env_spec_w32.h:602
#define NO_ERROR
Definition: dderror.h:5
struct _DMA_OPERATIONS * DmaOperations
Definition: iotypes.h:2181
UCHAR KIRQL
Definition: env_spec_w32.h:591
struct VIP_DMA_ADAPTER * PVIP_DMA_ADAPTER
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:803
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
PDMA_ADAPTER Adapter
Definition: dma.c:19
struct _SCATTER_GATHER_LIST * PSCATTER_GATHER_LIST
Definition: iotypes.h:2090
VPAPI VP_STATUS NTAPI VideoPortCreateEvent ( IN PVOID  HwDeviceExtension,
IN ULONG  EventFlag,
IN PVOID  Unused,
OUT PEVENT ppEvent 
)

Definition at line 24 of file event.c.

Referenced by VmxFindAdapter().

28 {
30  PVIDEO_PORT_EVENT EngEvent;
31 
32  /* Allocate memory for the event structure */
34  sizeof(VIDEO_PORT_EVENT) + sizeof(KEVENT),
36  if (EngEvent)
37  {
38  /* Set KEVENT pointer */
39  EngEvent->pKEvent = EngEvent + 1;
40 
41  /* Initialize the kernel event */
42  KeInitializeEvent(EngEvent->pKEvent,
43  (EventFlag & EVENT_TYPE_MASK) ?
45  EventFlag & INITIAL_EVENT_STATE_MASK);
46 
47  /* Pass pointer to our structure to the caller */
48  *Event = (PEVENT)EngEvent;
49  DPRINT("VideoPortCreateEvent() created %p\n", EngEvent);
50  }
51  else
52  {
53  /* Out of memory */
54  DPRINT("VideoPortCreateEvent() failed\n");
55  Result = ERROR_NOT_ENOUGH_MEMORY;
56  }
57 
58  /* Return result */
59  return Result;
60 }
#define TAG_VIDEO_PORT
Definition: videoprt.h:35
#define INITIAL_EVENT_STATE_MASK
Definition: video.h:111
struct _ENG_EVENT * PEVENT
Definition: ntddvdeo.h:548
#define ERROR_NOT_ENOUGH_MEMORY
Definition: dderror.h:7
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
#define NO_ERROR
Definition: dderror.h:5
void DPRINT(...)
Definition: polytest.cpp:61
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
#define EVENT_TYPE_MASK
Definition: video.h:107
#define KeInitializeEvent(pEvt, foo, foo2)
Definition: env_spec_w32.h:477
LONG VP_STATUS
Definition: video.h:153
VPAPI VP_STATUS NTAPI VideoPortCreateSecondaryDisplay ( IN PVOID  HwDeviceExtension,
IN OUT PVOID SecondaryDeviceExtension,
IN ULONG  ulFlag 
)

Definition at line 1158 of file videoprt.c.

1162 {
1163  UNIMPLEMENTED;
1164  return ERROR_DEV_NOT_EXIST;
1165 }
#define UNIMPLEMENTED
Definition: debug.h:114
#define ERROR_DEV_NOT_EXIST
Definition: dderror.h:8
VPAPI VP_STATUS NTAPI VideoPortCreateSpinLock ( IN PVOID  HwDeviceExtension,
OUT PSPIN_LOCK SpinLock 
)

Definition at line 32 of file spinlock.c.

35 {
36  TRACE_(VIDEOPRT, "VideoPortCreateSpinLock\n");
38  if (*SpinLock == NULL)
41  return NO_ERROR;
42 }
#define ERROR_NOT_ENOUGH_MEMORY
Definition: dderror.h:7
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
#define NO_ERROR
Definition: dderror.h:5
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
FORCEINLINE VOID KeInitializeSpinLock(_Out_ PKSPIN_LOCK SpinLock)
Definition: kefuncs.h:251
smooth NULL
Definition: ftsmooth.c:513
#define TRACE_(x)
Definition: compat.h:66
#define ExAllocatePool(type, size)
Definition: fbtusb.h:44
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
VPAPI VOID NTAPI VideoPortDbgReportComplete ( IN OUT PVIDEO_DEBUG_REPORT  pReport)
VPAPI PVIDEO_DEBUG_REPORT NTAPI VideoPortDbgReportCreate ( IN PVOID  HwDeviceExtension,
IN ULONG  ulCode,
IN ULONG_PTR  ulpArg1,
IN ULONG_PTR  ulpArg2,
IN ULONG_PTR  ulpArg3,
IN ULONG_PTR  ulpArg4 
)
VPAPI BOOLEAN NTAPI VideoPortDbgReportSecondaryData ( IN OUT PVIDEO_DEBUG_REPORT  pReport,
IN PVOID  pvData,
IN ULONG  ulDataSize 
)
VPAPI BOOLEAN NTAPI VideoPortDDCMonitorHelper ( IN PVOID  HwDeviceExtension,
IN PVOID  DDCControl,
IN OUT PUCHAR  EdidBuffer,
IN ULONG  EdidBufferSize 
)

Referenced by VBEReadEdidUsingSCI().

VPAPI VP_STATUS NTAPI VideoPortDeleteEvent ( IN PVOID  HwDeviceExtension,
IN PEVENT  pEvent 
)

Definition at line 67 of file event.c.

69 {
70  /* Handle error cases */
71  if (!Event) return ERROR_INVALID_PARAMETER;
73  if (!Event->pKEvent) return ERROR_INVALID_PARAMETER;
74 
75  /* Free storage */
77 
78  /* Indicate success */
79  return NO_ERROR;
80 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
#define NO_ERROR
Definition: dderror.h:5
#define ExFreePool(addr)
Definition: env_spec_w32.h:352
VPAPI VP_STATUS NTAPI VideoPortDeleteSpinLock ( IN PVOID  HwDeviceExtension,
IN PSPIN_LOCK  SpinLock 
)

Definition at line 49 of file spinlock.c.

52 {
53  TRACE_(VIDEOPRT, "VideoPortDeleteSpinLock\n");
55  return NO_ERROR;
56 }
#define NO_ERROR
Definition: dderror.h:5
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK SpinLock
Definition: iofuncs.h:798
#define TRACE_(x)
Definition: compat.h:66
#define ExFreePool(addr)
Definition: env_spec_w32.h:352
VPAPI VP_STATUS NTAPI VideoPortDisableInterrupt ( IN PVOID  HwDeviceExtension)

Definition at line 154 of file interrupt.c.

155 {
156 #ifndef _M_AMD64
157  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
158 
159  /* Get the device extension */
160  DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
161 
162  /* Fail if the driver didn't register an ISR */
163  if (!DeviceExtension->DriverExtension->InitializationData.HwInterrupt)
164  {
165  /* No ISR, no interrupts */
166  return ERROR_INVALID_FUNCTION;
167  }
168 
169  /* Disable the interrupt and return */
170  HalDisableSystemInterrupt(DeviceExtension->InterruptVector, 0);
171  return NO_ERROR;
172 #else
173  /* FIXME: Function still present? If so what to use instead of HalDisableSystemInterrupt? */
175  return ERROR_INVALID_FUNCTION;
176 #endif
177 }
VIDEO_PORT_DRIVER_EXTENSION * DriverExtension
Definition: videoprt.h:100
#define ERROR_INVALID_FUNCTION
Definition: dderror.h:6
VIDEO_HW_INITIALIZATION_DATA InitializationData
Definition: videoprt.h:69
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
#define NO_ERROR
Definition: dderror.h:5
VOID NTAPI HalDisableSystemInterrupt(IN ULONG Vector, IN KIRQL Irql)
Definition: pic.c:309
PVIDEO_HW_INTERRUPT HwInterrupt
Definition: video.h:668
#define UNIMPLEMENTED
Definition: debug.h:114
VPAPI PDMA NTAPI VideoPortDoDma ( IN PVOID  HwDeviceExtension,
IN PDMA  pDma,
IN DMA_FLAGS  DmaFlags 
)

Definition at line 426 of file dma.c.

429 {
430  /* Deprecated */
431  return NULL;
432 }
smooth NULL
Definition: ftsmooth.c:513
VPAPI VP_STATUS NTAPI VideoPortEnableInterrupt ( IN PVOID  HwDeviceExtension)

Definition at line 116 of file interrupt.c.

117 {
118 #ifndef _M_AMD64
119  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
120  BOOLEAN InterruptValid;
121 
122  /* Get the device extension */
123  DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
124 
125  /* Fail if the driver didn't register an ISR */
126  if (!DeviceExtension->DriverExtension->InitializationData.HwInterrupt)
127  {
128  /* No ISR, no interrupts */
129  return ERROR_INVALID_FUNCTION;
130  }
131 
132  /* Re-enable the interrupt and return */
133  InterruptValid = HalEnableSystemInterrupt(DeviceExtension->InterruptVector,
134  0,
135  DeviceExtension->InterruptLevel);
136 
137  /* Make sure the interrupt was valid */
138  ASSERT(InterruptValid == TRUE);
139 
140  /* Return to caller */
141  return NO_ERROR;
142 #else
143  /* FIXME: Function still present? If so what to use instead of HalEnableSystemInterrupt? */
145  return ERROR_INVALID_FUNCTION;
146 #endif
147 }
BOOLEAN NTAPI HalEnableSystemInterrupt(IN ULONG Vector, IN KIRQL Irql, IN KINTERRUPT_MODE InterruptMode)
Definition: pic.c:295
#define TRUE
Definition: types.h:120
VIDEO_PORT_DRIVER_EXTENSION * DriverExtension
Definition: videoprt.h:100
#define ERROR_INVALID_FUNCTION
Definition: dderror.h:6
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel)?(CompletionRoutine!=NULL):TRUE)
VIDEO_HW_INITIALIZATION_DATA InitializationData
Definition: videoprt.h:69
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
#define NO_ERROR
Definition: dderror.h:5
unsigned char BOOLEAN
PVIDEO_HW_INTERRUPT HwInterrupt
Definition: video.h:668
#define UNIMPLEMENTED
Definition: debug.h:114
VPAPI VP_STATUS NTAPI VideoPortEnumerateChildren ( IN PVOID  HwDeviceExtension,
IN PVOID  Reserved 
)

Definition at line 988 of file videoprt.c.

Referenced by IntVideoPortFindAdapter(), and VBEInitialize().

991 {
992  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
993  ULONG Status;
994  VIDEO_CHILD_ENUM_INFO ChildEnumInfo;
995  BOOLEAN bHaveLastMonitorID = FALSE;
996  UCHAR LastMonitorID[10];
997  ULONG Unused;
998  UINT i;
999  PDEVICE_OBJECT ChildDeviceObject;
1000  PVIDEO_PORT_CHILD_EXTENSION ChildExtension;
1001 
1002  INFO_(VIDEOPRT, "Starting child device probe\n");
1003  DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
1005  {
1006  WARN_(VIDEOPRT, "Miniport's HwGetVideoChildDescriptor is NULL!\n");
1007  return NO_ERROR;
1008  }
1009 
1010  if (!IsListEmpty(&DeviceExtension->ChildDeviceList))
1011  {
1012  ERR_(VIDEOPRT, "FIXME: Support calling VideoPortEnumerateChildren again!\n");
1013  return NO_ERROR;
1014  }
1015 
1016  /* Enumerate the children */
1017  for (i = 1; ; i++)
1018  {
1019  Status = IoCreateDevice(DeviceExtension->DriverObject,
1020  sizeof(VIDEO_PORT_CHILD_EXTENSION) +
1022  NULL,
1025  FALSE,
1026  &ChildDeviceObject);
1027  if (!NT_SUCCESS(Status))
1028  return Status;
1029 
1030  ChildExtension = ChildDeviceObject->DeviceExtension;
1031 
1032  RtlZeroMemory(ChildExtension,
1033  sizeof(VIDEO_PORT_CHILD_EXTENSION) +
1035 
1036  ChildExtension->Common.Fdo = FALSE;
1037  ChildExtension->ChildId = i;
1038  ChildExtension->PhysicalDeviceObject = ChildDeviceObject;
1039  ChildExtension->DriverObject = DeviceExtension->DriverObject;
1040 
1041  /* Setup the ChildEnumInfo */
1042  ChildEnumInfo.Size = sizeof(ChildEnumInfo);
1043  ChildEnumInfo.ChildDescriptorSize = sizeof(ChildExtension->ChildDescriptor);
1044  ChildEnumInfo.ACPIHwId = 0;
1045 
1047  ChildEnumInfo.ChildHwDeviceExtension = VIDEO_PORT_GET_CHILD_EXTENSION(ChildExtension);
1048  else
1049  ChildEnumInfo.ChildHwDeviceExtension = NULL;
1050 
1051  ChildEnumInfo.ChildIndex = ChildExtension->ChildId;
1052 
1053  INFO_(VIDEOPRT, "Probing child: %d\n", ChildEnumInfo.ChildIndex);
1055  HwDeviceExtension,
1056  &ChildEnumInfo,
1057  &ChildExtension->ChildType,
1058  ChildExtension->ChildDescriptor,
1059  &ChildExtension->ChildId,
1060  &Unused);
1061  if (Status == VIDEO_ENUM_MORE_DEVICES)
1062  {
1063  if (ChildExtension->ChildType == Monitor)
1064  {
1065  // Check if the EDID is valid
1066  if (ChildExtension->ChildDescriptor[0] == 0x00 &&
1067  ChildExtension->ChildDescriptor[1] == 0xFF &&
1068  ChildExtension->ChildDescriptor[2] == 0xFF &&
1069  ChildExtension->ChildDescriptor[3] == 0xFF &&
1070  ChildExtension->ChildDescriptor[4] == 0xFF &&
1071  ChildExtension->ChildDescriptor[5] == 0xFF &&
1072  ChildExtension->ChildDescriptor[6] == 0xFF &&
1073  ChildExtension->ChildDescriptor[7] == 0x00)
1074  {
1075  if (bHaveLastMonitorID)
1076  {
1077  // Compare the previous monitor ID with the current one, break the loop if they are identical
1078  if (RtlCompareMemory(LastMonitorID, &ChildExtension->ChildDescriptor[8], sizeof(LastMonitorID)) == sizeof(LastMonitorID))
1079  {
1080  INFO_(VIDEOPRT, "Found identical Monitor ID two times, stopping enumeration\n");
1081  IoDeleteDevice(ChildDeviceObject);
1082  break;
1083  }
1084  }
1085 
1086  // Copy 10 bytes from the EDID, which can be used to uniquely identify the monitor
1087  RtlCopyMemory(LastMonitorID, &ChildExtension->ChildDescriptor[8], sizeof(LastMonitorID));
1088  bHaveLastMonitorID = TRUE;
1089 
1090  /* Mark it valid */
1091  ChildExtension->EdidValid = TRUE;
1092  }
1093  else
1094  {
1095  /* Mark it invalid */
1096  ChildExtension->EdidValid = FALSE;
1097  }
1098  }
1099  }
1100  else if (Status == VIDEO_ENUM_INVALID_DEVICE)
1101  {
1102  WARN_(VIDEOPRT, "Child device %d is invalid!\n", ChildEnumInfo.ChildIndex);
1103  IoDeleteDevice(ChildDeviceObject);
1104  continue;
1105  }
1106  else if (Status == VIDEO_ENUM_NO_MORE_DEVICES)
1107  {
1108  INFO_(VIDEOPRT, "End of child enumeration! (%d children enumerated)\n", i - 1);
1109  IoDeleteDevice(ChildDeviceObject);
1110  break;
1111  }
1112  else
1113  {
1114  WARN_(VIDEOPRT, "HwGetVideoChildDescriptor returned unknown status code 0x%x!\n", Status);
1115  IoDeleteDevice(ChildDeviceObject);
1116  break;
1117  }
1118 
1119  if (ChildExtension->ChildType == Monitor)
1120  {
1121  UINT j;
1122  PUCHAR p = ChildExtension->ChildDescriptor;
1123  INFO_(VIDEOPRT, "Monitor device enumerated! (ChildId = 0x%x)\n", ChildExtension->ChildId);
1124  for (j = 0; j < sizeof (ChildExtension->ChildDescriptor); j += 8)
1125  {
1126  INFO_(VIDEOPRT, "%02x %02x %02x %02x %02x %02x %02x %02x\n",
1127  p[j + 0], p[j + 1], p[j + 2], p[j + 3],
1128  p[j + 4], p[j + 5], p[j + 6], p[j + 7]);
1129  }
1130  }
1131  else if (ChildExtension->ChildType == Other)
1132  {
1133  INFO_(VIDEOPRT, "\"Other\" device enumerated: DeviceId = %S\n", (PWSTR)ChildExtension->ChildDescriptor);
1134  }
1135  else
1136  {
1137  ERR_(VIDEOPRT, "HwGetVideoChildDescriptor returned unsupported type: %d\n", ChildExtension->ChildType);
1138  }
1139 
1140  /* Clear the init flag */
1141  ChildDeviceObject->Flags &= ~DO_DEVICE_INITIALIZING;
1142 
1143  InsertTailList(&DeviceExtension->ChildDeviceList,
1144  &ChildExtension->ListEntry);
1145  }
1146 
1147  /* Trigger reenumeration by the PnP manager */
1149 
1150  return NO_ERROR;
1151 }
#define DO_DEVICE_INITIALIZING
Definition: env_spec_w32.h:399
_Must_inspect_result_ typedef _In_ PVOID Unused
Definition: iotypes.h:1128
GLenum GLclampf GLint GLenum GLuint GLenum GLenum GLsizei GLenum const GLvoid GLfloat GLfloat GLfloat GLfloat GLclampd GLint GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean GLboolean GLboolean GLboolean GLint GLenum GLsizei const GLvoid GLenum GLint GLenum GLint GLint GLsizei GLint GLenum GLint GLint GLint GLint GLsizei GLenum GLsizei const GLuint GLboolean GLenum GLenum GLint GLsizei GLenum GLsizei GLenum const GLvoid GLboolean const GLboolean GLenum const GLdouble const GLfloat const GLdouble const GLfloat GLenum GLint GLint GLint GLint GLint GLint j
Definition: glfuncs.h:98
#define TRUE
Definition: types.h:120
NTSYSAPI VOID NTAPI RtlCopyMemory(VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
VIDEO_CHILD_TYPE ChildType
Definition: videoprt.h:114
#define INFO_(ch,...)
Definition: debug.h:158
PVIDEO_HW_GET_CHILD_DESCRIPTOR HwGetVideoChildDescriptor
Definition: video.h:677
VIDEO_PORT_DRIVER_EXTENSION * DriverExtension
Definition: videoprt.h:100
VIDEO_HW_INITIALIZATION_DATA InitializationData
Definition: videoprt.h:69
unsigned char * PUCHAR
Definition: retypes.h:3
#define ERR_(ch,...)
Definition: debug.h:155
PVOID *typedef PWSTR
Definition: winlogon.h:57
ULONG ChildDescriptorSize
Definition: video.h:262
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
#define InsertTailList(ListHead, Entry)
#define NO_ERROR
Definition: dderror.h:5
_Must_inspect_result_ FORCEINLINE BOOLEAN IsListEmpty(_In_ const LIST_ENTRY *ListHead)
Definition: rtlfuncs.h:57
GLenum GLclampf GLint i
Definition: glfuncs.h:14
#define FILE_DEVICE_CONTROLLER
Definition: winioctl.h:109
#define FALSE
Definition: types.h:117
PDEVICE_OBJECT PhysicalDeviceObject
Definition: videoprt.h:84
#define VIDEO_PORT_GET_CHILD_EXTENSION(MiniportExtension)
Definition: videoprt.h:127
VIDEO_PORT_COMMON_EXTENSION Common
Definition: videoprt.h:111
PVOID DeviceExtension
Definition: env_spec_w32.h:418
smooth NULL
Definition: ftsmooth.c:513
#define VIDEO_ENUM_MORE_DEVICES
Definition: video.h:139
PDRIVER_OBJECT DriverObject
Definition: videoprt.h:119
unsigned char BOOLEAN
Definition: video.h:273
unsigned char UCHAR
Definition: xmlstorage.h:181
Status
Definition: gdiplustypes.h:24
PDRIVER_OBJECT DriverObject
Definition: videoprt.h:83
VOID NTAPI IoDeleteDevice(IN PDEVICE_OBJECT DeviceObject)
Definition: device.c:1025
#define NT_SUCCESS(StatCode)
Definition: cmd.c:149
VOID NTAPI IoInvalidateDeviceRelations(IN PDEVICE_OBJECT DeviceObject, IN DEVICE_RELATION_TYPE Type)
Definition: pnpmgr.c:4771
Definition: video.h:270
unsigned int UINT
Definition: ndis.h:50
PDEVICE_OBJECT PhysicalDeviceObject
Definition: videoprt.h:120
unsigned int ULONG
Definition: retypes.h:1
NTSTATUS NTAPI IoCreateDevice(IN PDRIVER_OBJECT DriverObject, IN ULONG DeviceExtensionSize, IN PUNICODE_STRING DeviceName, IN DEVICE_TYPE DeviceType, IN ULONG DeviceCharacteristics, IN BOOLEAN Exclusive, OUT PDEVICE_OBJECT *DeviceObject)
Definition: device.c:831
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
PVOID ChildHwDeviceExtension
Definition: video.h:265
#define FILE_DEVICE_SECURE_OPEN
Definition: cdrw_usr.h:46
GLfloat GLfloat p
Definition: glext.h:8902
#define VIDEO_ENUM_NO_MORE_DEVICES
Definition: video.h:140
#define WARN_(ch,...)
Definition: debug.h:156
#define RtlCompareMemory(s1, s2, l)
Definition: env_spec_w32.h:465
#define VIDEO_ENUM_INVALID_DEVICE
Definition: video.h:141
VPAPI VP_STATUS NTAPI VideoPortFlushRegistry ( PVOID  HwDeviceExtension)

Definition at line 29 of file stubs.c.

31 {
33  return 0;
34 }
#define UNIMPLEMENTED
Definition: stubs.c:20
VPAPI VOID NTAPI VideoPortFreeCommonBuffer ( IN PVOID  HwDeviceExtension,
IN ULONG  Length,
IN PVOID  VirtualAddress,
IN PHYSICAL_ADDRESS  LogicalAddress,
IN BOOLEAN  CacheEnabled 
)

Definition at line 187 of file dma.c.

192 {
193  PVIP_DMA_ADAPTER VpDmaAdapter;
194  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
195 
196  /* sanity check */
197  ASSERT(!IsListEmpty(&DeviceExtension->DmaAdapterList));
198 
199  /* grab first dma adapter */
200  VpDmaAdapter = (PVIP_DMA_ADAPTER)CONTAINING_RECORD(DeviceExtension->DmaAdapterList.Flink, VIP_DMA_ADAPTER, Entry);
201 
202  /* sanity checks */
203  ASSERT(VpDmaAdapter->HwDeviceExtension == HwDeviceExtension);
204  ASSERT(VpDmaAdapter->Adapter != NULL);
205  ASSERT(VpDmaAdapter->MapRegisters != 0);
206 
207  VideoPortReleaseCommonBuffer(HwDeviceExtension, (PVP_DMA_ADAPTER)VpDmaAdapter, Length, LogicalAddress, VirtualAddress, CacheEnabled);
208 }
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel)?(CompletionRoutine!=NULL):TRUE)
PVOID HwDeviceExtension
Definition: dma.c:21
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
_Must_inspect_result_ FORCEINLINE BOOLEAN IsListEmpty(_In_ const LIST_ENTRY *ListHead)
Definition: rtlfuncs.h:57
smooth NULL
Definition: ftsmooth.c:513
struct _LIST_ENTRY * Flink
Definition: typedefs.h:120
struct __VP_DMA_ADAPTER * PVP_DMA_ADAPTER
Definition: video.h:159
struct VIP_DMA_ADAPTER * PVIP_DMA_ADAPTER
VOID UINTN Length
Definition: acefiex.h:718
_In_ ULONG _In_ BOOLEAN _Must_inspect_result_ PVOID * VirtualAddress
Definition: ndis.h:3772
ULONG MapRegisters
Definition: dma.c:20
VOID NTAPI VideoPortReleaseCommonBuffer(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN ULONG Length, IN PHYSICAL_ADDRESS LogicalAddress, IN PVOID VirtualAddress, IN BOOLEAN CacheEnabled)
Definition: dma.c:68
PDMA_ADAPTER Adapter
Definition: dma.c:19
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
base of all file and directory entries
Definition: entries.h:82
VPAPI VOID NTAPI VideoPortFreeDeviceBase ( IN PVOID  HwDeviceExtension,
IN PVOID  MappedAddress 
)

Definition at line 471 of file resource.c.

Referenced by InitializeModeTable().

474 {
475  TRACE_(VIDEOPRT, "VideoPortFreeDeviceBase\n");
477  VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension),
478  MappedAddress);
479 }
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
#define TRACE_(x)
Definition: compat.h:66
VOID NTAPI IntVideoPortUnmapMemory(IN PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension, IN PVOID MappedAddress)
Definition: resource.c:398
VPAPI VOID NTAPI VideoPortFreePool ( IN PVOID  HwDeviceExtension,
IN PVOID  Ptr 
)

Definition at line 927 of file resource.c.

Referenced by InitializeModeTable(), VbeGetVideoMemoryBaseAddress(), and VbeSetColorLookup().

930 {
931  ExFreePool(Ptr);
932 }
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
#define ExFreePool(addr)
Definition: env_spec_w32.h:352
VPAPI VP_STATUS NTAPI VideoPortGetAccessRanges ( IN PVOID  HwDeviceExtension,
IN ULONG  NumRequestedResources,
IN PIO_RESOURCE_DESCRIPTOR RequestedResources  OPTIONAL,
IN ULONG  NumAccessRanges,
OUT PVIDEO_ACCESS_RANGE  AccessRanges,
IN PVOID  VendorId,
IN PVOID  DeviceId,
OUT PULONG  Slot 
)

Referenced by XboxVmpFindAdapter().

VPAPI PVOID NTAPI VideoPortGetAssociatedDeviceExtension ( IN PVOID  DeviceObject)

Definition at line 1188 of file videoprt.c.

1190 {
1191  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
1192 
1193  TRACE_(VIDEOPRT, "VideoPortGetAssociatedDeviceExtension\n");
1194  DeviceExtension = ((PDEVICE_OBJECT)DeviceObject)->DeviceExtension;
1195  if (!DeviceExtension)
1196  return NULL;
1197  return DeviceExtension->MiniPortDeviceExtension;
1198 }
struct _DEVICE_OBJECT * PDEVICE_OBJECT
_In_ PLARGE_INTEGER _In_ ULONG _In_ BOOLEAN _In_ ULONG _Out_ PVOID _Out_ PIO_STATUS_BLOCK _In_ PDEVICE_OBJECT DeviceObject
Definition: npfs.h:636
smooth NULL
Definition: ftsmooth.c:513
#define TRACE_(x)
Definition: compat.h:66
VPAPI ULONG NTAPI VideoPortGetAssociatedDeviceID ( IN PVOID  DeviceObject)

Definition at line 38 of file stubs.c.

40 {
42  return 0;
43 }
#define UNIMPLEMENTED
Definition: stubs.c:20
VPAPI ULONG NTAPI VideoPortGetBusData ( IN PVOID  HwDeviceExtension,
IN BUS_DATA_TYPE  BusDataType,
IN ULONG  SlotNumber,
IN OUT PVOID  Buffer,
IN ULONG  Offset,
IN ULONG  Length 
)
VPAPI ULONG NTAPI VideoPortGetBytesUsed ( IN PVOID  HwDeviceExtension,
IN PDMA  pDma 
)

Definition at line 48 of file stubs.c.

51 {
53  return 0;
54 }
#define UNIMPLEMENTED
Definition: stubs.c:20
VPAPI PVOID NTAPI VideoPortGetCommonBuffer ( IN PVOID  HwDeviceExtension,
IN ULONG  DesiredLength,
IN ULONG  Alignment,
OUT PPHYSICAL_ADDRESS  LogicalAddress,
OUT PULONG  pActualLength,
IN BOOLEAN  CacheEnabled 
)

Definition at line 215 of file dma.c.

221 {
222  PVOID Result;
223  PVIP_DMA_ADAPTER VpDmaAdapter;
224  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
225 
226  /* maximum palette size */
227  if (DesiredLength > 262144)
228  {
229  /* size exceeded */
230  return NULL;
231  }
232 
233  if (IsListEmpty(&DeviceExtension->DmaAdapterList))
234  {
235  /* no adapter available */
236  return NULL;
237  }
238 
239  /* grab first dma adapter */
240  VpDmaAdapter = (PVIP_DMA_ADAPTER)CONTAINING_RECORD(DeviceExtension->DmaAdapterList.Flink, VIP_DMA_ADAPTER, Entry);
241 
242  /* sanity checks */
243  ASSERT(VpDmaAdapter->HwDeviceExtension == HwDeviceExtension);
244  ASSERT(VpDmaAdapter->Adapter != NULL);
245  ASSERT(VpDmaAdapter->MapRegisters != 0);
246 
247  /* allocate common buffer */
248  Result = VideoPortAllocateCommonBuffer(HwDeviceExtension, (PVP_DMA_ADAPTER)VpDmaAdapter, DesiredLength, LogicalAddress, CacheEnabled, NULL);
249 
250  if (Result)
251  {
252  /* store length */
253  *pActualLength = DesiredLength;
254  }
255  else
256  {
257  /* failed to allocate common buffer */
258  *pActualLength = 0;
259  }
260 
261  return Result;
262 }
DWORD *typedef PVOID
Definition: winlogon.h:52
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel)?(CompletionRoutine!=NULL):TRUE)
PVOID HwDeviceExtension
Definition: dma.c:21
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
_Must_inspect_result_ FORCEINLINE BOOLEAN IsListEmpty(_In_ const LIST_ENTRY *ListHead)
Definition: rtlfuncs.h:57
smooth NULL
Definition: ftsmooth.c:513
struct _LIST_ENTRY * Flink
Definition: typedefs.h:120
PVOID NTAPI VideoPortAllocateCommonBuffer(IN PVOID HwDeviceExtension, IN PVP_DMA_ADAPTER VpDmaAdapter, IN ULONG DesiredLength, OUT PPHYSICAL_ADDRESS LogicalAddress, IN BOOLEAN CacheEnabled, PVOID Reserved)
Definition: dma.c:43
struct __VP_DMA_ADAPTER * PVP_DMA_ADAPTER
Definition: video.h:159
struct VIP_DMA_ADAPTER * PVIP_DMA_ADAPTER
ULONG MapRegisters
Definition: dma.c:20
PDMA_ADAPTER Adapter
Definition: dma.c:19
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
base of all file and directory entries
Definition: entries.h:82
VPAPI UCHAR NTAPI VideoPortGetCurrentIrql ( VOID  )

Definition at line 695 of file videoprt.c.

696 {
697  return KeGetCurrentIrql();
698 }
#define KeGetCurrentIrql()
Definition: env_spec_w32.h:706
VPAPI PVOID NTAPI VideoPortGetDeviceBase ( IN PVOID  HwDeviceExtension,
IN PHYSICAL_ADDRESS  IoAddress,
IN ULONG  NumberOfUchars,
IN UCHAR  InIoSpace 
)

Definition at line 450 of file resource.c.

Referenced by InitializeModeTable(), and VgaFindAdapter().

455 {
456  TRACE_(VIDEOPRT, "VideoPortGetDeviceBase\n");
457  return IntVideoPortMapMemory(
458  VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension),
459  IoAddress,
460  NumberOfUchars,
461  InIoSpace,
462  NULL,
463  NULL);
464 }
#define VIDEO_PORT_GET_DEVICE_EXTENSION(MiniportExtension)
Definition: videoprt.h:133
smooth NULL
Definition: ftsmooth.c:513
#define TRACE_(x)
Definition: compat.h:66
PVOID NTAPI IntVideoPortMapMemory(IN PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension, IN PHYSICAL_ADDRESS IoAddress, IN ULONG NumberOfUchars, IN ULONG InIoSpace, IN HANDLE ProcessHandle, OUT VP_STATUS *Status)
Definition: resource.c:243
VPAPI VP_STATUS NTAPI VideoPortGetDeviceData ( IN PVOID  HwDeviceExtension,
IN VIDEO_DEVICE_DATA_TYPE  DeviceDataType,
IN PMINIPORT_QUERY_DEVICE_ROUTINE  CallbackRoutine,
IN PVOID  Context 
)

Definition at line 896 of file resource.c.

Referenced by VgaFindAdapter().

901 {
902  TRACE_(VIDEOPRT, "VideoPortGetDeviceData\n");
904  return ERROR_INVALID_FUNCTION;
905 }
#define ERROR_INVALID_FUNCTION
Definition: dderror.h:6
#define TRACE_(x)
Definition: compat.h:66
#define UNIMPLEMENTED
Definition: debug.h:114
VPAPI PVP_DMA_ADAPTER NTAPI VideoPortGetDmaAdapter ( IN PVOID  HwDeviceExtension,
IN PVP_DEVICE_DESCRIPTION  VpDeviceDescription 
)

Definition at line 120 of file dma.c.

122 {
124  PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension = VIDEO_PORT_GET_DEVICE_EXTENSION(HwDeviceExtension);
126  PVIP_DMA_ADAPTER Adapter;
127  PDMA_ADAPTER DmaAdapter;
128 
129  /* allocate private adapter structure */
130  Adapter = ExAllocatePool(NonPagedPool, sizeof(VIP_DMA_ADAPTER));
131  if (!Adapter)
132  {
133  /* failed to allocate adapter structure */
134  return NULL;
135  }
136 
137  /* Zero the structure */
138  RtlZeroMemory(&DeviceDescription,
139  sizeof(DEVICE_DESCRIPTION));
140 
141  /* Initialize the structure */
142  DeviceDescription.Version = DEVICE_DESCRIPTION_VERSION;
143  DeviceDescription.Master = TRUE;
144  DeviceDescription.DmaWidth = Width8Bits;
145  DeviceDescription.DmaSpeed = Compatible;
146 
147  /* Copy data from caller's device extension */
148  DeviceDescription.ScatterGather = VpDeviceExtension->ScatterGather;
149  DeviceDescription.Dma32BitAddresses = VpDeviceExtension->Dma32BitAddresses;
150  DeviceDescription.Dma64BitAddresses = VpDeviceExtension->Dma64BitAddresses;
151  DeviceDescription.MaximumLength = VpDeviceExtension->MaximumLength;
152 
153  /* Copy data from the internal device extension */
154  DeviceDescription.BusNumber = DeviceExtension->