// dispmprt.h
typedef struct _DXGKARG_CREATEVIRTUALGPU {
ULONG PartitionId;
DXGK_VIRTUALGPUPROFILE Profile;
CLSID UserModeVirtualDeviceProvider;
LUID VirtualGpuLuid;
ULONG NumMemorySegments;
DXGK_VIRTUALGPUSEGMENTINFO SegmentInfo[DXGK_MAX_VIRTUAL_GPU_ALLOCATIONS];
ULONG NumEngines;
DXGK_VIRTUALGPUENGINEINFO EngineInfo[DXGK_MAX_ASYMETRICAL_PROCESSING_NODES];
} DXGKARG_CREATEVIRTUALGPU, *PDXGKARG_CREATEVIRTUALGPU;
View the official Windows Driver Kit DDI referenceNo description available.
Arguments used to create a virtual GPU.
PartitionIdAn index (from 0 to maximum supported vGPU minus one) for the vGPU partition.
ProfileDescribes the desired vGPU capabilities.
UserModeVirtualDeviceProviderThe class Id for the user mode emulation DLL. This value can be set to zero if the driver does not need device emulation. The Id is used by the OS to instantiate the user mode DLL.
VirtualGpuLuidLUID, which uniquely identifies the virtual GPU. This LUID will be passed to the user mode emulation DLL.
NumMemorySegmentsThe number of valid entries in the SegmentInfo array.
SegmentInfoFirst NumMemorySegment entries describe information about local memory segments, which are needed in the vGPU.
NumEnginesThe number of valid elements in the EngineInfo array. This is deprecated and should be zero.
EngineInfoSpecifies physical engines, which should be used when creating a vGPU with the given profile. This is deprecated and should be zero.