AMX 86 Procedures
K
A
DAK
225
ajevcre ajevcre
Purpose Create an Event Group
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup AMXID group;
unsigned int ivalue;
int status;
char tag[4];
.
.
status = ajevcre(&group, ivalue, tag);
AX BX= BX [DX:CX]
Where &group is a pointer to storage for the event group id of the event group
allocated to the caller.
ivalue is the initial value of the 16 event flags in the group.
tag is a 4-character name tag for the event group.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
AEROK = Call successful
AERNEB = No free event group
If the call is unsuccessful, group will be undefined.
See Also ajevdel, ajevtag