Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Undecorates the specified decorated C++ symbol name.
DWORD IMAGEAPI UnDecorateSymbolName(
[in] PCSTR name,
[out] PSTR outputString,
[in] DWORD maxStringLength,
[in] DWORD flags
);
[in] name
The decorated C++ symbol name. This name can be identified by the first character of the name, which is always a question mark (?).
[out] outputString
A pointer to a string buffer that receives the undecorated name.
[in] maxStringLength
The size of the UnDecoratedName buffer, in characters.
[in] flags
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.
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dbghelp.h |
Library | Dbghelp.lib |
DLL | Dbghelp.dll |
Redistributable | DbgHelp.dll 5.1 or later |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!