| StartTypes | Type (Enumeration)

events.h

enum StartTypes {...};

A pseudo-enumeration describing start types for EV_startTask.

StartTypes is a pseudo-enumeration which describes standard "start types" used in the EV_startTask command, on such way to be compatible with all AMS versions. It is defined using macros, but it behaves as it is defined as

    enum StartTypes {AP_START_CURRENT = 0x00, AP_START_NEW = 0x10,
    AP_START_OPEN = 0x20, AP_START_ERROR = 0x30};

on AMS 1.xx, and

    enum StartTypes {AP_START_CURRENT = 0, AP_START_NEW = 1,
    AP_START_OPEN = 2, AP_START_ERROR = 3};

on AMS 2.xx.