Skip to main content
3 events
when toggle format what by license comment
Apr 24, 2019 at 13:26 comment added erexo if that proc list is relatively short with const count and you really would like custom names instead of integers, then you can create a custom type with lots of integers of different names. Then you'll have a single object with couple of variables and each of those will have a custom name. And if those addresses are constant which is kinda stupid but you can look where you land with that, you can try to set p_comct132_HandleScrollCmd to enumType and g_pfnsUxCtrl to pointer to enumType. Both solutions are silly, in your case I'd just memorize those integers
Apr 23, 2019 at 20:41 comment added c00000fd yeah, that's how you define a generic enum. But how would you apply it to the particular example I showed above?
Apr 23, 2019 at 9:41 history answered erexo CC BY-SA 4.0