// dispmprt.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_I2C_INTERFACE structure contains pointers to functions in the I2C interface, which is implemented by the display miniport driver.
SizeThe size, in bytes, of this structure.
VersionThe version number of the I2C interface. Version number constants are defined in Dispmprt.h (for example, DXGK_I2C_INTERFACE_VERSION_1).
ContextA pointer to a private context block.
InterfaceReferenceA pointer to an interface reference function that is implemented by the display miniport driver.
InterfaceDereferenceA pointer to an interface dereference function that is implemented by the display miniport driver.
DxgkDdiI2CTransmitDataToDisplayA pointer to the display miniport driver's DxgkDdiI2CTransmitDataToDisplay function.
DxgkDdiI2CReceiveDataFromDisplayA pointer to the display miniport driver's DxgkDdiI2CReceiveDataFromDisplay function.
A kernel-mode component that needs to use the I2C interface calls the display miniport driver's DxgkDdiQueryInterface function.