Creates an interrupt thread that wakes up when its hardware interrupt occurs.
HANDLE RtAttachInterruptVector(
PSECURITY_ATTRIBUTES pThreadAttributes,
ULONG StackSize,
VOID (RTFCNDCL * pRoutineIST)(PVOID ContextIST),
PVOID ContextIST,
ULONG Priority,
INTERFACE_TYPE InterfaceType,
ULONG BusNumber,
ULONG BusInterruptLevel,
ULONG BusInterruptVector
);
pThreadAttributes
StackSize
pRoutineIST
ContextIST
Priority
InterfaceType
BusNumber
BusInterruptLevel
BusInterruptVector
StackSize is rounded up to a multiple of 4K bytes.
BusInterruptLevel defines the hardware interrupt and must be between 0 and the highest interrupt in the hardware configuration.
pRoutineIST is called from the interrupt thread and executes in a normal iwin32 context.
pRoutineIST returns. | Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/iwin32.h | iwin32.h | iwin32.lib |
Note
This function operates in the real-time portion of your application.
RtReleasehInterruptVector, RtAttachInterruptVectorEx, Thread priorities, iwin32 API, iwin32 Overview