Partager via


DXGKDDI_GPU_PARTITION_INTERFACE structure (dispmprt.h)

Permet d’interroger la façon dont un GPU peut être partitionné pour une utilisation dans Machines Virtuelles et créer ou détruire un GPU virtuel.

Un pilote miniport doit prendre en charge toutes les fonctions de ce groupe.

Syntaxe

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;

Membres

[in] Size

Taille d’un GPU virtuel.

[in] Version

Version.

[out] Context

Contexte.

[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

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 10 version 1903
En-tête dispmprt.h