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 de IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS qui contient le contexte de connexion associé à l’interruption. L’appelant a reçu ce contexte de l’appel IoConnectInterruptEx qui a inscrit l’ISR.

Valeur de retour

None

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 . Par défaut, l’ISR est actif après l’appel IoConnectInterruptEx .

Un ISR qui est à l’état actif peut être déconnecté ou rendu 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 contect de connexion valide obtenu à partir d’un appel IoConnectInterruptEx .

Pour plus d’informations sur IoReportInterruptActive, consultez Rendre un ISR actif ou inactif.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Disponible à partir de Windows 8.
Plateforme cible Universal
En-tête wdm.h (inclure Wdm.h)
Bibliothèque NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL

Voir aussi

IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS

IoConnectInterruptEx

IoDisconnectInterruptEx

IoReportInterruptInactive