DXGKDDI_RESTOREMEMORYFORHOTUPDATE - NtDoc

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

DXGKDDI_RESTOREMEMORYFORHOTUPDATE DxgkddiRestorememoryforhotupdate;

NTSTATUS DxgkddiRestorememoryforhotupdate(
  [in] IN_CONST_HANDLE hContext,
  [in] IN_CONST_PDXGKARG_RESTOREMEMORYFORHOTUPDATE pArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_restorememoryforhotupdate)

DXGKDDI_RESTOREMEMORYFORHOTUPDATE callback function

Description

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.

Parameters

hContext [in]

A handle to the driver miniport context.

pArgs [in]

A pointer to the DXGKARG_RESTOREMEMORYFORHOTUPDATE structure.

Return value

Return STATUS_SUCCESS if the operation succeeds.

Prototype

//Declaration

DXGKDDI_RESTOREMEMORYFORHOTUPDATE DxgkddiRestorememoryforhotupdate;

// Definition

NTSTATUS DxgkddiRestorememoryforhotupdate
(
    IN_CONST_HANDLE hContext
    IN_CONST_PDXGKARG_RESTOREMEMORYFORHOTUPDATE pArgs
)
{...}

Remarks

Before calling DxgkDdiStartDevice, Dxgkrnl calls DxgkDdiRestoreMemoryForHotUpdate once for each memory block, which was saved by DxgkCbSaveMemoryForHotUpdate.

See also