DXGKARGCB_SAVEMEMORYFORHOTUPDATE structure (d3dkmddi.h)

Arguments used in the DXGKCB_SAVEMEMORYFORHOTUPDATE callback function, to save memory for driver hot update.

Syntax

typedef struct _DXGKARGCB_SAVEMEMORYFORHOTUPDATE {
  UINT                  NumDataMemoryRanges;
  DXGK_KSR_MEMORY_RANGE *pDataMemoryRanges;
  PMDL                  pDataMdl;
  UINT                  DataSize;
  PVOID                 pData;
  UINT                  MetaDataSize;
  BYTE                  *pMetaData;
} DXGKARGCB_SAVEMEMORYFORHOTUPDATE;

Members

NumDataMemoryRanges

[in] The number of physical memory ranges in the pDataMemoryRanges array.

pDataMemoryRanges

[in, optional] Pointer to the array of physical memory ranges.

pDataMdl

[in, optional] Pointer to an MDL (memory descriptor list), which describes physical memory pages.

When passing pDataMdl the driver should do the following:

DataSize

[in] The number of bytes in the buffer that pData points to.

pData

[in, optional] A pointer to the virtual memory to save.

MetaDataSize

[in] The number of bytes in the buffer that pMetaData points to.

pMetaData

[in, optional] The virtual memory pointer to metadata that is associated with the saved memory block.

Remarks

The driver must not save the same physical page twice.

Requirements

   
Minimum supported client Windows 10, version 1903
Header d3dkmddi.h