Bewerken

Delen via


DXGK_AGP_INTERFACE structure (dispmprt.h)

The DXGK_AGP_INTERFACE structure contains pointers to functions in the Accelerated Graphics Port (AGP) interface, which is implemented by the display port driver.

Syntax

typedef struct _DXGK_AGP_INTERFACE {
  USHORT                   Size;
  USHORT                   Version;
  PVOID                    Context;
  PINTERFACE_REFERENCE     InterfaceReference;
  PINTERFACE_DEREFERENCE   InterfaceDereference;
  DXGKCB_AGP_ALLOCATE_POOL AgpAllocatePool;
  DXGKCB_AGP_FREE_POOL     AgpFreePool;
  DXGKCB_AGP_SET_COMMAND   AgpSetCommand;
} DXGK_AGP_INTERFACE, *PDXGK_AGP_INTERFACE;

Members

Size

The size, in bytes, of this structure.

Version

The version number of the AGP interface. Version number constants are defined in Dispmprt.h (for example, DXGK_AGP_INTERFACE_VERSION_1).

Context

A pointer to a context that is provided by the display port driver.

InterfaceReference

A pointer to an interface reference function that is implemented by the display port driver.

InterfaceDereference

A pointer to an interface dereference function that is implemented by the display port driver.

AgpAllocatePool

A pointer to the display port driver's AgpAllocatePool function.

AgpFreePool

A pointer to the display port driver's AgpFreePool function.

AgpSetCommand

A pointer to the display port driver's AgpSetCommand function.

Remarks

The display miniport driver supplies the Size and Version members of this structure, and then calls DxgkCbQueryServices, which fills in the remaining members of this structure.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header dispmprt.h (include Dispmprt.h)