| StandardTaskIDs | Type (Enumeration)

events.h

enum StandardTaskIDs {AP_NULL = -3, AP_RUNNING = -2, AP_CURRENT = -1};

An enumeration describing task ID constants.

StandardTaskIDs is an enumeration which describes standard task "magic" numbers which works independently of actual task ID numbers, so they are AMS-independent (see EV_sendEvent).
"Running" application is the application which has an attached and activated toolbar menu (this does not need to be equal to "Current" application). "Null" application is special value used for overriding CM_WPAINT block (see EV_sendEvent).

See also: MO_sendQuit