What does = "GetEnvironmentVariableA@12" mean?

BlitzMax Forums/BlitzMax Programming/What does = "GetEnvironmentVariableA@12" mean?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Its a name-decoration for the stdcall calling convention, when making the DLL some compilers allow you to remove it or redefine the name without it.

Edit: Most times Extern "Win32" will get the name right anyway, you really only need the "GetEnvironmentVariableA@12" if you want to name the function something different.