DXGKCB_FREECONTIGUOUSMEMORY callback function

Implemented by the client driver to release a range of physically contiguous memory that was allocated by DXGKCB_ALLOCATECONTIGUOUSMEMORY.

Syntax

DXGKCB_FREECONTIGUOUSMEMORY DxgkcbFreecontiguousmemory;

NTSTATUS DxgkcbFreecontiguousmemory(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARGCB_FREECONTIGUOUSMEMORY pFreeContiguousMemory
)
{...}

Parameters

hAdapter

Handle to a display adapter.

pFreeContiguousMemory

Pointer to a DXGKARGCB_FREECONTIGUOUSMEMORY structure that contains a handle to contiguous memory.

Return Value

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

Remarks

Register your implementation of this callback function by setting the appropriate member of PDXGKARGCB_FREECONTIGUOUSMEMORY and then calling DxgkCbFreeContiguousMemory.

Requirements

   
Header d3dkmddi.h