Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
get last constant in the enum
     enum_id - id of enum
     bmask   - bitmask of the constant
               ordinary enums accept only -1 as a bitmask
returns: value of constant or -1 no constants are defined
         All constants are sorted by their values as unsigned longs.

long get_last_enum_member(long enum_id, long bmask);

Index | Previous topic | Next topic