IOMMU_INTERFACE_STATE_CHANGE_CALLBACK - NtDoc

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

IOMMU_INTERFACE_STATE_CHANGE_CALLBACK IommuInterfaceStateChangeCallback;

VOID IommuInterfaceStateChangeCallback(
  PIOMMU_INTERFACE_STATE_CHANGE StateChange,
  PVOID Context
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdm-iommu_interface_state_change_callback)

Description

This routine is invoked whenever there has been a system state change that affects a DMA_IOMMU_INTERFACE_EX.

Parameters

StateChange

[In] A pointer to the state information that indicates which states have changed. See IOMMU_INTERFACE_STATE_CHANGE.

Context

[In, optional] An optional caller-specified context that matches the optional context passed in when registering an IOMMU Interface state change callback through IOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK.

Remarks

This callback should be registered via IOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK. It will be immediately invoked upon registration (to avoid race conditions) and whenever a system state change has occurred. The callback owner should not assume the state and should always check the provided state information in IOMMU_INTERFACE_STATE_CHANGE.

It is the callback owner's responsibility to unregister the callback, using IOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK, before disposing of an DMA_IOMMU_INTERFACE_EX or IOMMU_DMA_DEVICE.

See also

IOMMU_INTERFACE_STATE_CHANGE

IOMMU_INTERFACE_STATE_CHANGE_FIELDS

IOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK

IOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK

DMA_IOMMU_INTERFACE_V2

DMA_IOMMU_INTERFACE_EX