Retrieving Undecorated Symbol Names
The following code demonstrates how to retrieve an undecorated symbol name from a symbol name using UnDecorateSymbolName. The decorated name is stored in szName
. The example assumes you have initialized the symbol handler using the code in Initializing the Symbol Handler.
if (UnDecorateSymbolName(szName, szUndName, sizeof(szUndName), UNDNAME_COMPLETE))
{
// UnDecorateSymbolName returned success
printf ("Symbol : %s\n", szUndName);
}
else
{
// UnDecorateSymbolName failed
DWORD error = GetLastError();
printf("UnDecorateSymbolName returned error %d\n", error);
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for