Bewerken

Delen via


DXGK_I2C_INTERFACE structure (dispmprt.h)

The DXGK_I2C_INTERFACE structure contains pointers to functions in the I2C interface, which is implemented by the display miniport driver.

Syntax

typedef struct _DXGK_I2C_INTERFACE {
  USHORT                                Size;
  USHORT                                Version;
  PVOID                                 Context;
  PINTERFACE_REFERENCE                  InterfaceReference;
  PINTERFACE_DEREFERENCE                InterfaceDereference;
  DXGKDDI_I2C_TRANSMIT_DATA_TO_DISPLAY  DxgkDdiI2CTransmitDataToDisplay;
  DXGKDDI_I2C_RECEIVE_DATA_FROM_DISPLAY DxgkDdiI2CReceiveDataFromDisplay;
} DXGK_I2C_INTERFACE, *PDXGK_I2C_INTERFACE;

Members

Size

The size, in bytes, of this structure.

Version

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

Context

A pointer to a private context block.

InterfaceReference

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

InterfaceDereference

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

DxgkDdiI2CTransmitDataToDisplay

A pointer to the display miniport driver's DxgkDdiI2CTransmitDataToDisplay function.

DxgkDdiI2CReceiveDataFromDisplay

A pointer to the display miniport driver's DxgkDdiI2CReceiveDataFromDisplay function.

Remarks

A kernel-mode component that needs to use the I2C interface calls the display miniport driver's DxgkDdiQueryInterface function.

Requirements

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