15 { {{0x3b0}}, 0x3bb - 0x3b0 + 1, 1, 0, 0 },
16 { {{0x3c0}}, 0x3df - 0x3c0 + 1, 1, 0, 0 },
17 { {{0xa0000}}, 0x20000, 0, 0, 0 },
371VGAInterrupt(
PVOID DeviceExtension)
418VGATimer(
PVOID DeviceExtension)
430 PVOID ReturnedAddress;
433 ReturnedAddress = RequestedAddress->RequestedVirtualAddress;
442 if (StatusBlock->Status != 0)
444 StatusBlock->Information = 0;
447 MapInformation->VideoRamBase = MapInformation->FrameBufferBase =
449 MapInformation->VideoRamLength = MapInformation->FrameBufferLength =
466 CurrentMode->ModeIndex = 2;
467 CurrentMode->VisScreenWidth = 640;
468 CurrentMode->VisScreenHeight = 480;
469 CurrentMode->ScreenStride = 80;
470 CurrentMode->NumberOfPlanes = 4;
471 CurrentMode->BitsPerPlane = 1;
472 CurrentMode->Frequency = 60;
473 CurrentMode->XMillimeter = 320;
474 CurrentMode->YMillimeter = 240;
475 CurrentMode->NumberRedBits =
476 CurrentMode->NumberGreenBits =
477 CurrentMode->NumberBlueBits = 6;
478 CurrentMode->RedMask =
479 CurrentMode->GreenMask =
480 CurrentMode->BlueMask = 0;
481 CurrentMode->VideoMemoryBitmapWidth = 640;
482 CurrentMode->VideoMemoryBitmapHeight = 480;
485 CurrentMode->DriverSpecificAttributeFlags = 0;
494 NumberOfModes->NumModes = 1;
534 for (
i=ColorLookUpTable->FirstEntry; i<ColorLookUpTable->NumEntries;
i++)
548 if(RequestedMode->RequestedMode == 2)
573 MemoryToUnmap->RequestedVirtualAddress,
static const COLUMN_LIST Columns[]
_In_ ULONG _In_ BATTERY_QUERY_INFORMATION_LEVEL _In_ LONG _In_ ULONG _Out_ PULONG ReturnedLength
#define ERROR_INSUFFICIENT_BUFFER
#define ERROR_INVALID_FUNCTION
#define ERROR_INVALID_PARAMETER
DRIVER_INITIALIZE DriverEntry
GLsizei GLenum const GLvoid GLsizei GLenum 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 const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID VGAResetDevice(OUT PSTATUS_BLOCK StatusBlock)
#define IOCTL_VIDEO_SET_POWER_MANAGEMENT
#define IOCTL_VIDEO_SHARE_VIDEO_MEMORY
#define IOCTL_VIDEO_MAP_VIDEO_MEMORY
#define VIDEO_MODE_GRAPHICS
#define IOCTL_VIDEO_ENABLE_POINTER
#define IOCTL_VIDEO_SET_PALETTE_REGISTERS
#define IOCTL_VIDEO_SET_POINTER_ATTR
#define IOCTL_VIDEO_UNMAP_VIDEO_MEMORY
#define IOCTL_VIDEO_QUERY_CURSOR_ATTR
#define IOCTL_VIDEO_QUERY_CURSOR_POSITION
#define IOCTL_VIDEO_SET_CURSOR_POSITION
#define IOCTL_VIDEO_QUERY_CURRENT_MODE
#define IOCTL_VIDEO_ENABLE_CURSOR
#define IOCTL_VIDEO_DISABLE_CURSOR
#define IOCTL_VIDEO_GET_POWER_MANAGEMENT
#define IOCTL_VIDEO_SET_POINTER_POSITION
#define IOCTL_VIDEO_SET_CURRENT_MODE
#define IOCTL_VIDEO_FREE_PUBLIC_ACCESS_RANGES
#define IOCTL_VIDEO_GET_BANK_SELECT_CODE
#define IOCTL_VIDEO_QUERY_POINTER_CAPABILITIES
#define IOCTL_VIDEO_SET_COLOR_REGISTERS
#define IOCTL_VIDEO_LOAD_AND_SET_FONT
#define IOCTL_VIDEO_RESET_DEVICE
#define IOCTL_VIDEO_QUERY_POINTER_POSITION
#define IOCTL_VIDEO_SET_CURSOR_ATTR
struct _VIDEO_NUM_MODES VIDEO_NUM_MODES
#define IOCTL_VIDEO_DISABLE_POINTER
struct _VIDEO_MEMORY_INFORMATION VIDEO_MEMORY_INFORMATION
#define IOCTL_VIDEO_QUERY_POINTER_ATTR
#define VIDEO_MODE_NO_OFF_SCREEN
#define IOCTL_VIDEO_UNSHARE_VIDEO_MEMORY
struct _VIDEO_MODE_INFORMATION VIDEO_MODE_INFORMATION
#define IOCTL_VIDEO_QUERY_AVAIL_MODES
#define IOCTL_VIDEO_QUERY_COLOR_CAPABILITIES
#define IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES
#define IOCTL_VIDEO_SAVE_HARDWARE_STATE
#define IOCTL_VIDEO_RESTORE_HARDWARE_STATE
#define IOCTL_VIDEO_QUERY_PUBLIC_ACCESS_RANGES
VPAPI VOID NTAPI VideoPortZeroMemory(IN PVOID Destination, IN ULONG Length)
VPAPI VP_STATUS NTAPI VideoPortVerifyAccessRanges(_In_ PVOID HwDeviceExtension, _In_opt_ ULONG NumAccessRanges, _In_reads_opt_(NumAccessRanges) PVIDEO_ACCESS_RANGE AccessRanges)
Claims or releases a range of hardware resources and checks for conflicts.
VPAPI VP_STATUS NTAPI VideoPortUnmapMemory(IN PVOID HwDeviceExtension, IN OUT PVOID VirtualAddress, IN HANDLE ProcessHandle)
VPAPI ULONG NTAPI VideoPortInitialize(IN PVOID Argument1, IN PVOID Argument2, IN PVIDEO_HW_INITIALIZATION_DATA HwInitializationData, IN PVOID HwContext)
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 __cdecl VideoPortDebugPrint(IN VIDEO_DEBUG_LEVEL DebugPrintLevel, IN PSTR DebugMessage, IN ...)
#define VIDEO_MEMORY_SPACE_MEMORY
VPAPI VOID NTAPI VideoPortWritePortUchar(IN PUCHAR Port, IN UCHAR Value)
PHYSICAL_ADDRESS RangeStart
PVIDEO_HW_FIND_ADAPTER HwFindAdapter
PVIDEO_HW_START_IO HwStartIO
ULONG HwLegacyResourceCount
ULONG StartingDeviceNumber
PVIDEO_HW_RESET_HW HwResetHw
PVIDEO_ACCESS_RANGE HwLegacyResourceList
PVIDEO_HW_INITIALIZE HwInitialize
PHYSICAL_ADDRESS VdmPhysicalVideoMemoryAddress
ULONG VdmPhysicalVideoMemoryLength
PSTATUS_BLOCK StatusBlock
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT Context1
_In_ PNET_PNP_EVENT _In_ PTDI_PNP_CONTEXT _In_ PTDI_PNP_CONTEXT Context2
#define FIELD_OFFSET(t, f)
BOOLEAN VGAUnmapVideoMemory(IN PVOID DeviceExtension, IN PVIDEO_MEMORY MemoryToUnmap, OUT PSTATUS_BLOCK StatusBlock)
VIDEO_ACCESS_RANGE VGAAccessRange[]
BOOLEAN VGASetColorRegisters(IN PVIDEO_CLUT ColorLookUpTable, OUT PSTATUS_BLOCK StatusBlock)
BOOLEAN VGASetCurrentMode(IN PVIDEO_MODE RequestedMode, OUT PSTATUS_BLOCK StatusBlock)
VP_STATUS NTAPI VGAFindAdapter(PVOID DeviceExtension, PVOID Context, PWSTR ArgumentString, PVIDEO_PORT_CONFIG_INFO ConfigInfo, PUCHAR Again)
BOOLEAN NTAPI VGAInitialize(PVOID DeviceExtension)
BOOLEAN VGAShareVideoMemory(IN PVIDEO_SHARE_MEMORY RequestedMemory, OUT PVIDEO_MEMORY_INFORMATION ReturnedMemory, OUT PSTATUS_BLOCK StatusBlock)
BOOLEAN VGAMapVideoMemory(IN PVOID DeviceExtension, IN PVIDEO_MEMORY RequestedAddress, OUT PVIDEO_MEMORY_INFORMATION MapInformation, OUT PSTATUS_BLOCK StatusBlock)
BOOLEAN VGAQueryAvailModes(OUT PVIDEO_MODE_INFORMATION ReturnedModes, OUT PSTATUS_BLOCK StatusBlock)
BOOLEAN VGAUnshareVideoMemory(IN PVIDEO_MEMORY MemoryToUnshare, OUT PSTATUS_BLOCK StatusBlock)
BOOLEAN NTAPI VGAStartIO(PVOID DeviceExtension, PVIDEO_REQUEST_PACKET RequestPacket)
BOOLEAN NTAPI VGAResetHw(PVOID DeviceExtension, ULONG Columns, ULONG Rows)
BOOLEAN VGASetPaletteRegisters(IN PUSHORT PaletteRegisters, OUT PSTATUS_BLOCK StatusBlock)
BOOLEAN VGAQueryCurrentMode(OUT PVIDEO_MODE_INFORMATION CurrentMode, OUT PSTATUS_BLOCK StatusBlock)
BOOLEAN VGAQueryNumAvailModes(OUT PVIDEO_NUM_MODES NumberOfModes, OUT PSTATUS_BLOCK StatusBlock)
_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