Enumerates all symbols in a process.
BOOL IMAGEAPI SymEnumSymbolsEx( HANDLE hProcess, ULONG64 BaseOfDll, PCSTR Mask, PSYM_ENUMERATESYMBOLS_CALLBACK EnumSymbolsCallback, PVOID UserContext, DWORD Options );
A handle to a process. This handle must have been previously passed to the SymInitialize function.
The base address of the module. If this value is zero and Mask contains an exclamation point (!), the function looks across modules. If this value is zero and Mask does not contain an exclamation point, the function uses the scope established by the SymSetContext function.
A wildcard string that indicates the names of the symbols to be enumerated. The text can optionally contain the wildcards, "*" and "?".
To specify a specific module or set of modules, begin the text with a wildcard string specifying the module, followed by an exclamation point. When specifying a module, BaseOfDll is ignored.
||If BaseOfDll is not zero, then SymEnumSymbols will look for a global symbol named "foo".|
If BaseOfDll is not zero, then
SymEnumSymbols will look for a global symbol that
starts with "foo" and contains one extra character afterwards, such as
"fool" and "foot".
If BaseOfDll is zero, then SymEnumSymbols will look for a symbol that starts with "foo" and contains one extra character afterwards, such as "fool" and "foot". The search would be within the scope established by the most recent call to the SymSetContext function.
SymEnumSymbols will look in every loaded module that starts with the text "foo" for a symbol called "bar". It could find matches such as these, "foot!bar", "footlocker!bar", and "fool!bar".
SymEnumSymbols will enumerate every symbol in every loaded module.
A SymEnumSymbolsProc callback function that receives the symbol information.
A user-defined value that is passed to the callback function, or NULL. This parameter is typically used by an application to pass a pointer to a data structure that provides context for the callback function.
Indicates possible options.
||Use the default options.|
||Enumerate inline symbols.|
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. To retrieve extended error information, call GetLastError.
|Redistributable||DbgHelp.dll 6.2 or later|