Share via


Format of a C ++ Decorated Name

The following list shows the information contained in a decorated name for a C++ function:

  • The function name
  • The class that the function is a member of, if it is a member function. This may include the class that encloses the function's class, and so on.
  • The types of the function's parameters
  • The calling convention
  • The return type of the function

The string contains the literal names of the function and class. The rest of the string is a code that has internal meaning only for the compiler and linker.

The following table shows examples of undecorated and decorated C++ names:

Undecorated name Decorated name
int a(char){int i=3;return i;}; ?a@@YAHD@Z
void __stdcall b::c(float){}; ?c@b@@QAGXM@Z

See Also

Compiler-generated Decorated Function Names

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.