DXGKDDI_SETVIRTUALGPURESOURCES callback function (dispmprt.h)
This function assigns physical resources capabilities to a virtual GPU. The function is called before setting the virtual GPU to the D0 state.
Syntax
DXGKDDI_SETVIRTUALGPURESOURCES DxgkddiSetvirtualgpuresources;
NTSTATUS DxgkddiSetvirtualgpuresources(
[in] HANDLE Context,
[in] DXGKARG_SETVIRTUALGPURESOURCES *pArgs
)
{...}
Parameters
[in] Context
The miniport context that is returned by the driver in the DXGKDDI_GPU_PARTITION_INTERFACE structure.
[in] pArgs
A pointer to a DXGKARG_SETVIRTUALGPURESOURCES structure.
Return value
Return STATUS_SUCCESS if the operation succeeds.
Remarks
Remapping of vGPUs is not currently supported.
Requirements
Requirement | Value |
---|---|
Header | dispmprt.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for