winapidbghelp

What does "inline" mean in the context of dbghelp.h?


The documentation for SymEnumSymbolsEx() reads:

SYMENUM_OPTIONS_DEFAULT 1     Use the default options.
SYMENUM_OPTIONS_INLINE 2      Enumerate inline symbols.

What are "inline symbols"? What do SymFromInlineContext and the other inline procedures do?


Solution

  • You should know about inline function: The function code is expanded at the point of the call at compile time which will save the overhead of a function call. So it doesn't look like a "real function call", Similar to macros function. However, different with macros function, it also has a symbol link.