// dispmprt.h
typedef struct _DXGKARG_GETRESOURCEFORBAR {
ULONG VirtualFunctionIndex;
ULONG BarIndex;
PCM_PARTIAL_RESOURCE_DESCRIPTOR pResource;
} DXGKARG_GETRESOURCEFORBAR, *PDXGKARG_GETRESOURCEFORBAR;
View the official Windows Driver Kit DDI referenceNo description available.
Arguments used to get the host partition base address of a single Virtual Function base address register (BAR).
VirtualFunctionIndexZero-based offset of the Virtual Function from the first VF exposed by this Physical Function.
BarIndexIndex to the bar to retrieve the resource for.
pResourceOut variable that will be filled in with the resource information, specifically the base address. This is a CM_PARTIAL_RESOURCE_DESCRIPTOR. Valid types are CmResourceTypeMemory and CmResourceTypeMemoryLarge.