Return to previous page | Return to menu | Go to next page


void
Event management function

slReturnEvent

Release the area acquired by function “slGetEvent”

Format

void slReturnEvent(evptr)
EVENT *evptr ;

Parameter

evptr Start address of the area to be released

Function

The area acquired by the function “slGetEvent” is released and returned to the system.

Return value

None

Remarks

If the area registered as an event is released with the function “slReturnEvent”, the area is returned to the system, but the event list is not changed (the event is not checked). Problems occur in the functions “slGetEvent”, “slSetEvent”, “slSetEventNext”, etc. For this reason, be sure to call the function “slCloseEvent” to delete the event registration and then release the area with “slReturnEvent”.

Reference: Chapter 10 Event Control

slReturnEvent


Return to previous page | Return to menu | Go to next page