Win32 Assembly - Extern function naming (The meaning of '@')
问题 As I see, extern WinAPI functions in assembly code have names like _ExitProcess@4 . What is the meaning of the @4 part, and how to determine what number to use after @ ? I know that this has something to do with DLL we are linking against, but in many cases it's not known what number to use after the @ , and this leads to many nasty undefined reference errors. 回答1: As Andreas H answer said the number after the @ is the number of bytes the function removes from stack before the function