DXGKDDI_GETBACKINGRESOURCE callback function (dispmprt.h)

Gets any physical backings for the virtual device MMIO (memory mapped input output) BARs (base address registers).

Syntax

DXGKDDI_GETBACKINGRESOURCE DxgkddiGetbackingresource;

NTSTATUS DxgkddiGetbackingresource(
  HANDLE Context,
  DXGKARG_GETBACKINGRESOURCE *pArgs
)
{...}

Parameters

Context

A handle to the device context.

pArgs

Pointer to a DXGKARG_GETBACKINGRESOURCE structure.

Return value

Returns:

  • STATUS_SUCCESS The IHV system did not encounter any errors.
  • STATUS_INVALID_DEVICE_REQUEST The virtual device encountered an error and should be forcibly stopped. Failure here will cause virtual device failure.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header dispmprt.h
IRQL PASSIVE_LEVEL