DXGKDDI_CREATEVIRTUALGPU callback function

This function creates a virtual GPU with provided parameters and re-tunes information about physical GPU resources, which are needed for the virtual GPU.

Syntax

DXGKDDI_CREATEVIRTUALGPU DxgkddiCreatevirtualgpu;

NTSTATUS DxgkddiCreatevirtualgpu(
  HANDLE Context,
  DXGKARG_CREATEVIRTUALGPU *pArgs
)
{...}

Parameters

Context

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

pArgs

[in] Pointer to a DXGKARG_CREATEVIRTUALGPU structure.

Return Value

Return STATUS_SUCCESS if the operation succeeds.

Requirements

   
Header dispmprt.h
IRQL PASSIVE_LEVEL