IOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK fonction de rappel (wdm.h)
Permet à l’appelant de désinscrire un IOMMU_INTERFACE_STATE_CHANGE_CALLBACK inscrit.
Syntaxe
IOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK IommuUnregisterInterfaceStateChangeCallback;
NTSTATUS IommuUnregisterInterfaceStateChangeCallback(
PIOMMU_INTERFACE_STATE_CHANGE_CALLBACK StateChangeCallback,
PIOMMU_DMA_DEVICE DmaDevice
)
{...}
Paramètres
StateChangeCallback
[In] Le IOMMU_INTERFACE_STATE_CHANGE_CALLBACK à désinscrire.
DmaDevice
[In] Pointeur vers un jeton opaque représentant le IOMMU_DMA_DEVICE associé au rappel fourni.
Valeur retournée
STATUS_SUCCESS si l’opération réussit.
Les valeurs de retour d’erreur possibles incluent les codes status suivants.
Code de retour | Description |
---|---|
STATUS_UNSUCCESSFUL | Le IOMMU_INTERFACE_STATE_CHANGE_CALLBACK fourni n’est pas un rappel inscrit. |
Pour plus d’informations, consultez Valeurs NTSTATUS.
Remarques
Avant de supprimer un DMA_IOMMU_INTERFACE_EX ou un IOMMU_DMA_DEVICE, le propriétaire est responsable de la désinscription de tous ses rappels inscrits.
Un seul rappel peut être inscrit par IOMMU_DMA_DEVICE.
Configuration requise
Condition requise | Valeur |
---|---|
Serveur minimal pris en charge | Windows Server 2022 |
En-tête | wdm.h (inclure Wdm.h) |
Voir aussi
IOMMU_INTERFACE_STATE_CHANGE_CALLBACK