共用方式為


DXGKARG_SETVIRTUALGPURESOURCES結構(dispmprt.h)

用來設定虛擬 GPU 資源的自變數。

語法

typedef struct _DXGKARG_SETVIRTUALGPURESOURCES {
  ULONG                         PartitionId;
  ULONG                         NumMemoryAllocations;
  DXGK_VIRTUALGPUMEMORYRESOURCE MemoryInfo[1];
} DXGKARG_SETVIRTUALGPURESOURCES, *PDXGKARG_SETVIRTUALGPURESOURCES;

成員

PartitionId

vGPU 分割區的索引(從 0 到支援的 vGPU 減去 1 個)。

NumMemoryAllocations

指派給 vGPU 的記憶體配置數目。

MemoryInfo[1]

要求的指派記憶體配置陣列。

要求

要求 價值
標頭 dispmprt.h