DXGKDDI_SETALLOCATIONBACKINGSTORE callback function (d3dkmddi.h)

DXGKDDI_SETALLOCATIONBACKINGSTORE obtains the system space address to a graphics allocation backing store.

Syntax

DXGKDDI_SETALLOCATIONBACKINGSTORE DxgkddiSetallocationbackingstore;

NTSTATUS DxgkddiSetallocationbackingstore(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_SETALLOCATIONBACKINGSTORE pArgs
)
{...}

Parameters

hAdapter

[in] Handle to the miniport's context.

pArgs

[in] Pointer to a DXGKARG_SETALLOCATIONBACKINGSTORE structure that contains additional arguments for this function.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code.

Remarks

The address that pBackingStore points to is valid until the allocation is destroyed by DXGKDDI_DESTROYALLOCATION.

DXGKDDI_SETALLOCATIONBACKINGSTORE is called during D3DKMTCreateAllocation.

See Sharing the backing store with KMD for more information.

Requirements

Requirement Value
Minimum supported client Windows 11 (WDDM 3.0)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARG_SETALLOCATIONBACKINGSTORE