DXGKDDI_RESTOREMUTABLEMIGRATIONDATA callback function (d3dkmddi.h)
The receiving-side OS calls DxgkDdiRestoreMutableMigrationData to restore mutable data that was saved by the sending-side driver in a previous call to DxgkDdiSaveMutableMigrationData.
Syntax
DXGKDDI_RESTOREMUTABLEMIGRATIONDATA DxgkddiRestoremutablemigrationdata;
NTSTATUS DxgkddiRestoremutablemigrationdata(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_GPUP_RESTORE_MUTABLE_MIGRATION_DATA pArgs
)
{...}
Parameters
hAdapter
[in] A handle to a context block associated with a display adapter. The display miniport driver previously provided this handle to Dxgkrnl in the MiniportDeviceContext output parameter of the DXGKDDI_ADD_DEVICE function.
pArgs
[in] Pointer to a DXGKARG_GPUP_RESTORE_MUTABLE_MIGRATION_DATA structure that contains information needed to restore the mutable data.
Return value
DxgkDdiRestoreImmutableMigrationData returns STATUS_SUCCESS if the call is successful. Otherwise, it returns an appropriate NTSTATUS code.
Remarks
This DDI should only ever be called for VFs that are currently paused.
For more information, see Live migration on GPU-P devices.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11, version 24H2 (WDDM 3.2) |
Header | d3dkmddi.h |
IRQL | PASSIVE_LEVEL |