DXGKDDI_ENDLIVEMIGRATION callback function (d3dkmddi.h)
Dxgkrnl calls KMD's DxgkDdiEndLiveMigration function to notify the driver that a live migration is ending.
Syntax
DXGKDDI_ENDLIVEMIGRATION DxgkddiEndlivemigration;
NTSTATUS DxgkddiEndlivemigration(
IN_CONST_HANDLE hAdapter,
UINT vfIndex
)
{...}
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.
vfIndex
[in] Identifies the virtual function / vDEV being referenced. This index value localizes to the specific virtual device.
Return value
DxgkDdiEndLiveMigration returns STATUS_SUCCESS if it succeeds; otherwise, it returns an appropriate NTSTATUS code.
Remarks
DxgkDdiEndLiveMigration is called when there is no more need for migration configuration on the specified VF. All scheduling and state should return to a non-migrating configuration.
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 |