230
K
A
DAK
AMX 86 Procedures
ajevtag ajevtag
Purpose Find an Event Group
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup AMXID group;
char tag[4];
int status;
.
.
status = ajevtag(&group, tag);
AX BX= [DX:CX] see note
Where &group is a pointer to storage for the event group id if the event group of
interest.
tag is a pointer to a 4-character name identifying the event group of
interest.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERNSG = No event group with matching tag can be found
If more than one event group was created with the same tag, you will get
back the event group id of one of them, but which one is not certain.
If an event group with the given tag cannot be located, the event group id
in group will be undefined.
Event group tags are 4 characters long. All characters must match your
search tag exactly.
Note A tag 'ABCD' is presented in register DX:CX with 'A' in CL and 'D' in
DH.
See Also ajevcre