// video.h
typedef struct _VIDEO_PORT_INT10_INTERFACE {
IN USHORT Size;
IN USHORT Version;
OUT PVOID Context;
OUT PINTERFACE_REFERENCE InterfaceReference;
OUT PINTERFACE_DEREFERENCE InterfaceDereference;
OUT PINT10_ALLOCATE_BUFFER Int10AllocateBuffer;
OUT PINT10_FREE_BUFFER Int10FreeBuffer;
OUT PINT10_READ_MEMORY Int10ReadMemory;
OUT PINT10_WRITE_MEMORY Int10WriteMemory;
OUT PINT10_CALL_BIOS Int10CallBios;
} VIDEO_PORT_INT10_INTERFACE, *PVIDEO_PORT_INT10_INTERFACE;
View the official Windows Driver Kit DDI referenceNo description available.
The VIDEO_PORT_INT10_INTERFACE structure provides a way to allocate and deallocate memory in another thread's context, read from and write to that memory, and make INT10 BIOS calls.
SizeSpecifies the size in bytes of this structure.
VersionSpecifies the version of the interface to be returned by the video port driver. The current interface version is defined in video.h and has the form VIDEO_PORT_INT10_INTERFACE_N.
ContextPointer to a video port driver-defined context for the interface.
InterfaceReferencePointer to the video port driver-implemented reference routine for this interface.
InterfaceDereferencePointer to the video port driver-implemented dereference routine for this interface.
Int10AllocateBufferPointer to the video port driver-implemented Int10AllocateBuffer routine.
Int10FreeBufferPointer to the video port driver-implemented Int10FreeBuffer routine.
Int10ReadMemoryPointer to the video port driver-implemented Int10ReadMemory routine.
Int10WriteMemoryPointer to the video port driver-implemented Int10WriteMemory routine.
Int10CallBiosPointer to the video port driver-implemented Int10CallBios routine.
PnP video miniport drivers that intend to make BIOS calls should fill in the Size and Version members of this structure, and then call VideoPortQueryServices, which initializes the remaining members of this structure.