// dispmprt.h
DXGKDDI_SETGPUPARTITIONCOUNT DxgkddiSetgpupartitioncount;
NTSTATUS DxgkddiSetgpupartitioncount(
[in] HANDLE Context,
[in] DXGKARG_SETGPUPARTITIONCOUNT *pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
Context [in]The miniport context that is returned by the driver in the DXGKDDI_GPU_PARTITION_INTERFACE structure.
pArgs [in]A pointer to a DXGKARG_SETGPUPARTITIONCOUNT structure.
Return STATUS_SUCCESS if the operation succeeds.
//Declaration
DXGKDDI_SETGPUPARTITIONCOUNT DxgkddiSetgpupartitioncount;
// Definition
NTSTATUS DxgkddiSetgpupartitioncount
(
HANDLE Context
DXGKARG_SETGPUPARTITIONCOUNT * pArgs
)
{...}