IInterruptSync::GetKInterrupt method (portcls.h)

The GetKInterrupt method gets a WDM interrupt object from a port-class synchronization object.

Syntax

PKINTERRUPT GetKInterrupt();

Return value

GetKInterrupt returns a pointer to a WDM interrupt object.

Remarks

The PKINTERRUPT pointer is one of the two parameters that are passed to every interrupt service routine (see InterruptService). Every IInterruptSync object has an associated PKINTERRUPT pointer. It points to the associated kernel interrupt object, which is opaque.

A driver typically calls GetKInterrupt only if it needs to obtain this pointer so that it can call KeSynchronizeExecution directly.

Requirements

Requirement Value
Target Platform Universal
Header portcls.h (include Portcls.h)
IRQL Any level

See also

IInterruptSync

InterruptService

KeSynchronizeExecution