Bewerken

Delen via


VIDEO_PORT_INT10_INTERFACE structure (video.h)

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.

Syntax

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;

Members

Size

Specifies the size in bytes of this structure.

Version

Specifies 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.

Context

Pointer to a video port driver-defined context for the interface.

InterfaceReference

Pointer to the video port driver-implemented reference routine for this interface.

InterfaceDereference

Pointer to the video port driver-implemented dereference routine for this interface.

Int10AllocateBuffer

Pointer to the video port driver-implemented Int10AllocateBuffer routine.

Int10FreeBuffer

Pointer to the video port driver-implemented Int10FreeBuffer routine.

Int10ReadMemory

Pointer to the video port driver-implemented Int10ReadMemory routine.

Int10WriteMemory

Pointer to the video port driver-implemented Int10WriteMemory routine.

Int10CallBios

Pointer to the video port driver-implemented Int10CallBios routine.

Remarks

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.

Requirements

Requirement Value
Header video.h (include Video.h)

See also

VideoPortQueryServices