DXGKDDI_SETVIRTUALGPURESOURCES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dispmprt.h

DXGKDDI_SETVIRTUALGPURESOURCES DxgkddiSetvirtualgpuresources;

NTSTATUS DxgkddiSetvirtualgpuresources(
  [in] HANDLE Context,
  [in] DXGKARG_SETVIRTUALGPURESOURCES *pArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-dispmprt-dxgkddi_setvirtualgpuresources)

DXGKDDI_SETVIRTUALGPURESOURCES callback function

Description

This function assigns physical resources capabilities to a virtual GPU. The function is called before setting the virtual GPU to the D0 state.

Parameters

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_SETVIRTUALGPURESOURCES structure.

Return value

Return STATUS_SUCCESS if the operation succeeds.

Prototype

//Declaration

DXGKDDI_SETVIRTUALGPURESOURCES DxgkddiSetvirtualgpuresources;

// Definition

NTSTATUS DxgkddiSetvirtualgpuresources
(
    HANDLE Context
    DXGKARG_SETVIRTUALGPURESOURCES * pArgs
)
{...}

Remarks

Remapping of vGPUs is not currently supported.

See also