#ifndef _NTD3DKMT_H
typedef struct _D3DKMT_DP_I2C_IO
{
ULONG Flags; // D3DKMT_DP_I2C_*
ULONG RootPortIndex;
ULONG I2CAddress;
ULONG Offset; // EDDC mode: word offset in bits 0..7, segment pointer in bits 8..14
ULONG BufferSizeSupplied;
ULONG BytesToWrite;
ULONG BytesToRead;
ULONG DPNativeError;
ULONG BytesWritten;
ULONG BytesRead;
UCHAR Data[ANYSIZE_ARRAY];
} D3DKMT_DP_I2C_IO, *PD3DKMT_DP_I2C_IO;
View code on GitHubNo description available.