get_enum_member

get id of constant
     enum_id - id of enum
     value   - value of constant
     serial  - serial number of the constant in the enumeration.
               See @hlpIdcop_enum[op_enum]() for for details.
     bmask   - bitmask of the constant
               ordinary enums accept only -1 as a bitmask
returns: id of constant or -1 if error

long get_enum_member(long enum_id, long value, long serial, long bmask);

Last updated

Was this helpful?