Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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);
    // UnDecorateSymbolName failed
    DWORD error = GetLastError();
    printf("UnDecorateSymbolName returned error %d\n", error);



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.