SetErrorFilter
function · client
- Address
0x403200· 624 bytes, up to0x40346f- Signature
uint32_t __fastcall (const char *text)- Meaning
- Parses an error filter list into the selected message mask, or prints help and returns 0 for an unknown name
- Confidence
- verified, proof one
- Finding
- sysmsg#error-filter-setting
Finding: Error filter setting in sysmsg
ErrorFilter, default all, is a list of filter names separated by tabs, line breaks, double
quotes or spaces, compared ignoring case. Starting from an empty mask, general, world, ui,
animation, models, objects and movement set the bits 0x1, 0x2, 0x4, 0x8, 0x10, 0x20 and 0x80,
all sets every bit, and except makes each later name clear its bit, all then giving 0. The mask goes to SysMsgSetSelected and the filter is printed. A word that is
none of these prints Unknown filter %s and three help lines, leaves the selection unchanged and
vetoes the new value. Only all sets 0x40: the word picked for the letter s is objects,
which a word starting with s never equals.
The derivation is in the doc.
Callers 1
- ErrorFilterCallback client
Callees 5
- SysMsgSetSelected sysmsg
- ConsoleWrite console
- ConsolePrintf console
- SStrCmpI storm
- SStrTokenize storm
Calls and jumps by a bare address, from tables/calls.tsv.