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


WORK *
Event management function

slGetWork

Get a new WORK

Format

WORK *slGetWork()

Parameter

None

Function

The RAM area allocated for work is taken out and the pointer is returned.

Return value

Returns the start address of the acquired work area.
If the area could not be acquired (maximum 256 works), NULL is returned.

Remarks

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


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