Return to previous page | Return to menu | Go to next page
WORK *
Event management function
Get a new WORK
WORK *slGetWork()
None
The RAM area allocated for work is taken out and the pointer is returned.
Returns the start address of the acquired work area.
If the area could not be acquired (maximum 256 works), NULL is returned.
The work is a 64-byte area. The first 4 bytes are used as a list pointer by the system, and the remaining 60 bytes can be freely used by the user.
If the pointer is set to WORK of the EVENT structure, the work area will be returned to the system at the same time when the event is closed.
Reference: Chapter 10 Event Control
slGetWork