Index   Commented   Search   About

Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
imagehlp.lib
Header File
imagehlp.h
Unicode
No
Platform Notes
Windows 95: IMAGEHLP is available as a redistributable.

UnDecorateSymbolName

The UnDecorateSymbolName function undecorates decorated C++ symbol names.

DWORD UnDecorateSymbolName(

IN LPSTR DecoratedName,

OUT LPSTR UnDecoratedName,

IN DWORD UndecoratedLength,

IN DWORD Flags

);

Parameters

DecoratedName

A decorated C++ symbol name. This name can be identified by the first character of the name, which is always a question mark (?).

UnDecoratedName

A buffer where the undecorated name is placed.

UndecoratedLength

The length of the UnDecoratedName buffer.

Flags

These flags control how the decorated name is undecorated. The value can be zero or any combination of the following values:

  • UNDNAME_COMPLETE

  • UNDNAME_NO_LEADING_UNDERSCORES

  • UNDNAME_NO_MS_KEYWORDS

  • UNDNAME_NO_FUNCTION_RETURNS

  • UNDNAME_NO_ALLOCATION_MODEL

  • UNDNAME_NO_ALLOCATION_LANGUAGE

  • UNDNAME_NO_MS_THISTYPE

  • UNDNAME_NO_CV_THISTYPE

  • UNDNAME_NO_THISTYPE

  • UNDNAME_NO_ACCESS_SPECIFIERS

  • UNDNAME_NO_THROW_SIGNATURES

  • UNDNAME_NO_MEMBER_TYPE

  • UNDNAME_NO_RETURN_UDT_MODEL

  • UNDNAME_32_BIT_DECODE

  • UNDNAME_NAME_ONLY

  • UNDNAME_NO_ARGUMENTS

  • UNDNAME_NO_SPECIAL_SYMS

Return 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, then the return value is zero. To retrieve extended error information, call GetLastError.

Remarks

If the function fails and returns zero, the content of the UnDecoratedName buffer is undetermined.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun