SymUnDName

The SymUnDName function undecorates a decorated symbol.

BOOL SymUnDName(
  IN PIMAGEHLP_SYMBOL Symbol,  
  IN LPSTR UnDecName,       
  IN DWORD UnDecNameLength  
);
 

Parameters

Symbol
Specifies the symbol to be undecorated.
UnDecName
Specifies the buffer that contains the undecorated symbol name.
UnDecNameLength
Specifies the length in bytes of the UnDecName buffer.

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. To retrieve extended error information, call GetLastError.

Remarks

The UnDecName buffer contains the undecorated symbol name. However, if the buffer is too small, the name is truncated to UnDecNameLength length.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in imagehlp.h.
  Import Library: Use imagehlp.lib.

See Also

PE Image Helper (ImageHlp) Overview, Symbol Handler