Partager via


Fonction IoReportInterruptInactive (wdm.h)

La routine IoReportInterruptInactive informe le système d’exploitation qu’une routine de service d’interruption inscrite (ISR) est inactive et ne s’attend pas à recevoir de demandes d’interruption.

Syntaxe

void IoReportInterruptInactive(
  [in] PIO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS Parameters
);

Paramètres

[in] Parameters

Pointeur vers une structure IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS qui contient le contexte de connexion associé à l’interruption. L’appelant a reçu ce contexte à partir de l’appel IoConnectInterruptEx qui a inscrit l’ISR.

Valeur de retour

Aucun

Remarques

La routine IoConnectInterruptEx inscrit un ISR et connecte l’ISR à une interruption ou des interruptions. Une fois l’ISR inscrit, le pilote peut rendre l’ISR actif ou inactif en appelant la routine IoReportInterruptActive ou IoReportInterruptInactive routine. Par défaut, l’ISR est actif après l’appel ioConnectInterruptEx.

Un ISR qui est dans l’état inactif peut être déconnecté ou rendu actif. Pour déconnecter l’ISR et supprimer son inscription, appelez la routine IoDisconnectInterruptEx. Pour activer l’ISR sans modifier son inscription, appelez IoReportInterruptActive.

La structure IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS doit contenir un contact de connexion valide obtenu à partir d’un appel IoConnectInterruptEx.

Pour plus d’informations sur ioReportInterruptInactive, consultez Création d’un isr actif ou inactif.

Exigences

Exigence Valeur
client minimum pris en charge Disponible à partir de Windows 8.
plateforme cible Universel
d’en-tête wdm.h (include Wdm.h)
bibliothèque NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL

Voir aussi

IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS

IoConnectInterruptEx

IoDisconnectInterruptEx

IoReportInterruptActive