Partager via


Fonction IoReportInterruptActive (wdm.h)

La routine IoReportInterruptActive informe le système d’exploitation qu’une routine de service d’interruption inscrite (ISR) est active et prête à gérer les demandes d’interruption.

Syntaxe

void IoReportInterruptActive(
  [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 dans l’état actif peut être déconnecté ou inactif. Pour déconnecter l’ISR et supprimer son inscription, appelez la routine IoDisconnectInterruptEx. Pour rendre l’ISR inactif sans modifier son inscription, appelez IoReportInterruptInactive.

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 ioReportInterruptActive, 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

IoReportInterruptInactive