Signature
#define HAM_IGNORED 1 /**< Calls target function, returns normal value */#define HAM_HANDLED 2 /**< Tells the module you did something, still calls target function and returns normal value */#define HAM_OVERRIDE 3 /**< Still calls the target function, but returns whatever is set with SetHamReturn*() */#define HAM_SUPERCEDE 4 /**< Block the target call, and use your return value (if applicable) (Set with SetHamReturn*()) */
Description
Ham return types.
Notes
-
Return these from hooks to disable calling the target function.
Numbers match up with fakemeta's FMRES_* for clarity. They are
interchangable. 0 (or no return) is also interpretted as HAM_IGNORED.