// dispmprt.h
DXGKDDI_CREATEVIRTUALGPU DxgkddiCreatevirtualgpu;
NTSTATUS DxgkddiCreatevirtualgpu(
[in] HANDLE Context,
[in] DXGKARG_CREATEVIRTUALGPU *pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
This function creates a virtual GPU with provided parameters and re-tunes information about physical GPU resources, which are needed for the virtual GPU.
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 STATUS_SUCCESS if the operation succeeds.
//Declaration
DXGKDDI_CREATEVIRTUALGPU DxgkddiCreatevirtualgpu;
// Definition
NTSTATUS DxgkddiCreatevirtualgpu
(
HANDLE Context
DXGKARG_CREATEVIRTUALGPU * pArgs
)
{...}