DXGKARGCB_SAVEMEMORYFORHOTUPDATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

typedef struct _DXGKARGCB_SAVEMEMORYFORHOTUPDATE {
  [in]           UINT                  NumDataMemoryRanges;
  [in, optional] DXGK_KSR_MEMORY_RANGE *pDataMemoryRanges;
  [in, optional] PMDL                  pDataMdl;
  [in]           UINT                  DataSize;
  [in, optional] PVOID                 pData;
  [in]           UINT                  MetaDataSize;
  [in, optional] BYTE                  *pMetaData;
} DXGKARGCB_SAVEMEMORYFORHOTUPDATE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-dxgkargcb_savememoryforhotupdate)

DXGKARGCB_SAVEMEMORYFORHOTUPDATE structure

Description

The DXGKARGCB_SAVEMEMORYFORHOTUPDATE structure contains the information used by the DXGKCB_SAVEMEMORYFORHOTUPDATE callback function, to save memory for a driver hot update.

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 a memory descriptor list (MDL) that describes the 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.

See also

DXGKCB_SAVEMEMORYFORHOTUPDATE