Undecorates the specified decorated C++ symbol name.
DWORD IMAGEAPI UnDecorateSymbolName( PCSTR name, PSTR outputString, DWORD maxStringLength, DWORD flags );
The decorated C++ symbol name. This name can be identified by the first character of the name, which is always a question mark (?).
A pointer to a string buffer that receives the undecorated name.
The size of the UnDecoratedName buffer, in characters.
The options for how the decorated name is undecorated. This parameter can be zero or more of the following values.
If the function succeeds, the return value is the number of characters in the UnDecoratedName buffer, not including the NULL terminator.
If the function fails, the return value is zero. To retrieve extended error information, call GetLastError.
If the function fails and returns zero, the content of the UnDecoratedName buffer is undetermined.
To use undecorated symbols, call the SymSetOptions function with the SYMOPT_UNDNAME option.
All DbgHelp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.
To call the Unicode version of this function, define DBGHELP_TRANSLATE_TCHAR.
For an example, see Retrieving Undecorated Symbol Names.
|Redistributable||DbgHelp.dll 5.1 or later|