D3DKMT_DISPLAYPORT_OPERATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTD3DKMT_H

// rev
/**
 * A 16-byte header followed immediately by the selected DisplayPort payload; no payload pointer.
 * Size includes the header and any variable data, and must be in the range 17..4112 bytes.
 * The operation-specific minimums are listed in D3DKMT_DISPLAYPORT_OPERATION_TYPE.
 *
 * The caller must be an administrator or LocalSystem. AUX writes are rejected and AUX requests
 * are limited to 16 bytes. I2C read/write lengths cannot exceed BufferSizeSupplied; writes require
 * address 0x6e, offset sizes are limited to 4 bytes, and EDDC mode requires a 1-byte offset.
 * For I2C and sideband requests, allocate enough trailing storage for BufferSizeSupplied bytes.
 * Sideband messages are additionally filtered by the kernel. The miniport result is returned as
 * NTSTATUS; the payload also contains DPNativeError. The payload is copied back after the DDI call.
 */
typedef struct _D3DKMT_DISPLAYPORT_OPERATION
{
    D3DKMT_DISPLAYPORT_OPERATION_TYPE Operation;
    ULONG Size;
    LUID AdapterLuid;
    union
    {
        D3DKMT_DP_QUERY_CAPS QueryCaps;
        D3DKMT_DP_GET_ADDRESS GetAddress;
        D3DKMT_DP_AUX_IO AuxIo;
        D3DKMT_DP_I2C_IO I2cIo;
        D3DKMT_DP_SIDEBAND Sideband;
        UCHAR Data[ANYSIZE_ARRAY];
    };
} D3DKMT_DISPLAYPORT_OPERATION, *PD3DKMT_DISPLAYPORT_OPERATION;

#endif

View code on GitHub

NtDoc

No description available.