INTERRUPT_MESSAGE_INFO Structure

INTERRUPT_MESSAGE_INFO specifies a pointer to a user-allocated buffer which contains a message table and the number of entries in that table.

Syntax

Copy
typedef struct _INTERRUPT_MESSAGE_INFO {
    ULONG MessageCount;
    INTERRUPT_MESSAGE_INFO_ENTRY MessageInfo[1];
} INTERRUPT_MESSAGE_INFO, *PINTERRUPT_MESSAGE_INFO;

Members

MessageCount

The number of INTERRUPT_MESSAGE_INFO_ENTRY structures allocated in the MessageInfo table.

MessageInfo

An array of INTERRUPT_MESSAGE_INFO_ENTRY structures. See the code sample below, in which we dynamically allocate a buffer to hold the INTERRUPT_MESSAGE_INFO structure and the out-of-bound elements, fill in the buffer, and call RtAttachInterrupt.

Requirements

Minimum supported version Header

wRTOS 1.0 SDK

RtApi.h

See Also: