get_color
get item color
ea - address of the item
what - type of the item (one of COLWHAT... constants)
returns: color code in RGB (hex 0xBBGGRR)
long get_color(long ea, long what);
// color item codes:
#define CIC_ITEM 1 // one instruction or data
#define CIC_FUNC 2 // function
#define CIC_SEGM 3 // segment
#define DEFCOLOR 0xFFFFFFFF // Default color
Last updated