EV_sendEventSide Function (ROM Call 0xCF)

events.h

void EV_sendEventSide (short TaskID, EVENT *event, unsigned short Side);

Sends an event message from the given side.

EV_sendEventSide is very similar to EV_sendEvent. The only difference is in the fact that EV_sendEventSide fills the field Side of the event structure with the value of parameter Side. EV_sendEvent fills this field with the current side number (0=left or top side, 1 = right or bottom side). This field allows the message handler to determine which side (of course, in split screen mode) the message is sent from, so it allows a primitive kind of multitasking.


Uses: EV_hook, ER_catch, ER_success, ER_throwVar, EV_currentApp, EV_runningApp, OO_GetAttr, ST_flags
Used by: EV_eventLoop, EV_sendEvent, EV_startSide, MO_digestOptions, MO_sendQuit