DXGKDDI_CREATEVIRTUALGPU callback function (dispmprt.h)
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(
[in] HANDLE Context,
[in] DXGKARG_CREATEVIRTUALGPU *pArgs
)
{...}
Parameters
[in] Context
The miniport context that is returned by the driver in the DXGKDDI_GPU_PARTITION_INTERFACE structure.
[in] pArgs
Pointer to a DXGKARG_CREATEVIRTUALGPU structure.
Return value
Return STATUS_SUCCESS if the operation succeeds.
Requirements
Requirement | Value |
---|---|
Header | dispmprt.h |
IRQL | PASSIVE_LEVEL |