// dispmprt.h
typedef struct _DXGKARG_DPAUXIOTRANSMISSION {
struct {
UINT Write : 1;
UINT CanUseCachedData : 1;
UINT Reserved : 30;
};
UINT RootPortIndex;
UINT DPCDAddress;
BYTE NumBytesRequested;
UINT DPNativeError;
BYTE NumBytesDone;
BYTE Data[MAX_DP_NATIVE_AUX_IO_SIZE];
} DXGKARG_DPAUXIOTRANSMISSION, *PDXGKARG_DPAUXIOTRANSMISSION;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKARG_DPAUXIOTRANSMISSION structure is a parameter for the DXGKDDI_DPAUXIOTRANSMISSION callback.
WriteIndicates whether the operation is read or write. A value of zero indicates that the DisplayPort Configuration Data (DPCD) operation is a read; a value of one indicates a write to the DPCD.
CanUseCachedDataWhen set, indicates that the driver can use cached data without actual AUX transaction.
ReservedReserved; do not use.
RootPortIndexIndex value of the DP-capable connector on which to perform the DPCD read or write operation. The driver returned the total number of DP-capable connectors on the GPU in a prior call to DXGKDDI_QUERYDPCAPS. Subsequent calls to DXGKDDI_DPAUXIOTRANSMISSION refer to the DP connectors with RootPortIndex ranging from 0 to NumRootPorts - 1.
DPCDAddressThe DPCD address for the read or write operation.
NumBytesRequestedNumber of bytes to read/write starting at DPCDAddress.
DPNativeErrorField in which the driver can encode more details about the error when returning STATUS_DEVICE_PROTOCOL_ERROR from DXGKDDI_DPAUXIOTRANSMISSION.
NumBytesDoneActual number of bytes that were read or written.
DataBuffer containing the data to write for a write operation, or in which to receive the data for a read operation.