// 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 referenceNo description available.
The DXGKARGCB_SAVEMEMORYFORHOTUPDATE structure contains the information used by the DXGKCB_SAVEMEMORYFORHOTUPDATE callback function, to save memory for a driver hot update.
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.
The driver must not save the same physical page twice.