IInterruptSync ::GetKInterrupt, méthode (portcls.h)
La méthode GetKInterrupt
obtient un objet d’interruption WDM à partir d’un objet de synchronisation de classe de port.
Syntaxe
PKINTERRUPT GetKInterrupt();
Valeur de retour
GetKInterrupt
retourne un pointeur vers un objet d’interruption WDM.
Remarques
Le pointeur PKINTERRUPT est l’un des deux paramètres passés à chaque routine de service d’interruption (voir InterruptService). Chaque objet IInterruptSync a un pointeur PKINTERRUPT associé. Il pointe vers l’objet d’interruption du noyau associé, qui est opaque.
Un pilote appelle généralement GetKInterrupt
uniquement s’il doit obtenir ce pointeur afin qu’il puisse appeler KeSynchronizeExecution directement.
Exigences
Exigence | Valeur |
---|---|
plateforme cible | Universel |
d’en-tête | portcls.h (include Portcls.h) |
IRQL | N’importe quel niveau |