// d3dkmddi.h
typedef struct _DXGK_QUERYGPUMMUCAPSIN {
UINT PhysicalAdapterIndex;
} DXGK_QUERYGPUMMUCAPSIN;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_QUERYGPUMMUCAPSIN structure holds the index of the adapter being queried.
PhysicalAdapterIndexA zero-based physical adapter index (engine ordinal) for which the data is queried.
To get GpuMmu caps Dxgkrnl calls DxgkDdiQueryAdapterInfo with the following parameters:
DXGKARG_QUERYADAPTERINFO::Type = DXGKQAITYPE_GPUMMUCAPS;
DXGKARG_QUERYADAPTERINFO::pInputData = buffer of DXGK_QUERYGPUMMUCAPSIN type
DXGKARG_QUERYADAPTERINFO::InputDataSize = sizeof(DXGK_QUERYGPUMMUCAPSIN);
DXGKARG_QUERYADAPTERINFO::pOutputData = pointer to DXGK_GPUMMUCAPS
DXGKARG_QUERYADAPTERINFO::OutputDataSize = sizeof(DXGK_GPUMMUCAPS);