get_first_bmask

get first bitmask in the enum (bitfield)
     enum_id - id of enum (bitfield)
returns: the smallest bitmask of constant or -1
         no bitmasks are defined yet
         All bitmasks are sorted by their values as unsigned longs.

long get_first_bmask(long enum_id);

Index | Previous topic | Next topic