Bewerken

Delen via


DXGKDDI_GPU_PARTITION_INTERFACE structure (dispmprt.h)

Used to query how a GPU can be partitioned for use in Virtual Machines and create or destroy a virtual GPU.

A miniport driver must support all functions in this group.

Syntax

typedef struct _DXGKDDI_GPU_PARTITION_INTERFACE {
  [in]  IN USHORT                           Size;
  [in]  IN USHORT                           Version;
  [out] OUT PVOID                           Context;
  [out] OUT PINTERFACE_REFERENCE            InterfaceReference;
  [out] OUT PINTERFACE_DEREFERENCE          InterfaceDereference;
  [out] OUT PDXGKDDI_GETGPUPARTITIONINFO    DxgkDdiGetGpuPartitionInfo;
  [out] OUT PDXGKDDI_SETGPUPARTITIONCOUNT   DxgkDdiSetGpuPartitionCount;
  [out] OUT PDXGKDDI_GETGPUENGINES          DxgkDdiGetGpuEngines;
  [out] OUT PDXGKDDI_GETVIRTUALGPUPROFILE   DxgkDdiGetVirtualGpuProfile;
  [out] OUT PDXGKDDI_CREATEVIRTUALGPU       DxgkDdiCreateVirtualGpu;
  [out] OUT PDXGKDDI_GETVIRTUALGPUINFO      DxgkDdiGetVirtualGpuInfo;
  [out] OUT PDXGKDDI_SETVIRTUALGPURESOURCES DxgkDdiSetVirtualGpuResources;
  [out] OUT PDXGKDDI_DESTROYVIRTUALGPU      DxgkDdiDestroyVirtualGpu;
  [out] OUT PDXGKDDI_SUSPENDVIRTUALGPU      DxgkDdiSuspendVirtualGpu;
  [out] OUT PDXGKDDI_RESUMEVIRTUALGPU       DxgkDdiResumeVirtualGpu;
  [out] OUT PDXGKDDI_VIRTUALGPUDRIVERESCAPE DxgkDdiVirtualGpuDriverEscape;
  [out] OUT PDXGKDDI_SETVIRTUALGPUVMBUS     DxgkDdiSetVirtualGpuVmBus;
} DXGKDDI_GPU_PARTITION_INTERFACE, *PDXGKDDI_GPU_PARTITION_INTERFACE;

Members

[in] Size

Size of a virtual GPU.

[in] Version

Version.

[out] Context

The context.

[out] InterfaceReference

[out] InterfaceDereference

[out] DxgkDdiGetGpuPartitionInfo

[out] DxgkDdiSetGpuPartitionCount

[out] DxgkDdiGetGpuEngines

[out] DxgkDdiGetVirtualGpuProfile

[out] DxgkDdiCreateVirtualGpu

[out] DxgkDdiGetVirtualGpuInfo

[out] DxgkDdiSetVirtualGpuResources

[out] DxgkDdiDestroyVirtualGpu

[out] DxgkDdiSuspendVirtualGpu

[out] DxgkDdiResumeVirtualGpu

[out] DxgkDdiVirtualGpuDriverEscape

[out] DxgkDdiSetVirtualGpuVmBus

Requirements

Requirement Value
Minimum supported client Windows 10, version 1903
Header dispmprt.h