Partager via


Format of a C ++ Decorated Name (Windows CE 5.0)

Send Feedback

The following information is 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 can 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 are 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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.