DXGKDDI_RESTOREMEMORYFORHOTUPDATE callback function (d3dkmddi.h)
Restores memory for driver hot update. This callback function does not initialize virtual functions. The driver needs to reserve resources, which are used to restore virtual GPUs.
Syntax
DXGKDDI_RESTOREMEMORYFORHOTUPDATE DxgkddiRestorememoryforhotupdate;
NTSTATUS DxgkddiRestorememoryforhotupdate(
[in] IN_CONST_HANDLE hContext,
[in] IN_CONST_PDXGKARG_RESTOREMEMORYFORHOTUPDATE pArgs
)
{...}
Parameters
[in] hContext
A handle to the driver miniport context.
[in] pArgs
A pointer to the DXGKARG_RESTOREMEMORYFORHOTUPDATE structure.
Return value
Return STATUS_SUCCESS if the operation succeeds.
Remarks
Before calling DxgkDdiStartDevice, Dxgkrnl calls DxgkDdiRestoreMemoryForHotUpdate once for each memory block, which was saved by DxgkCbSaveMemoryForHotUpdate.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1903 |
Header | d3dkmddi.h |
IRQL | <= APC_LEVEL |