DXGKDDI_SETGPUPARTITIONCOUNT callback function (dispmprt.h)

Sets the number of partitions the physical GPU should be divided into. The OS guarantees that at this point there are no existing vGPUs on the physical GPU.

Syntax

DXGKDDI_SETGPUPARTITIONCOUNT DxgkddiSetgpupartitioncount;

NTSTATUS DxgkddiSetgpupartitioncount(
  [in] HANDLE Context,
  [in] DXGKARG_SETGPUPARTITIONCOUNT *pArgs
)
{...}

Parameters

[in] Context

The miniport context that is returned by the driver in the DXGKDDI_GPU_PARTITION_INTERFACE structure.

[in] pArgs

A pointer to a DXGKARG_SETGPUPARTITIONCOUNT structure.

Return value

Return STATUS_SUCCESS if the operation succeeds.

Requirements

Requirement Value
Header dispmprt.h