title: What is __stdcall?
body: <p>I'm learning about Win32 programming, and the <code>WinMain</code> prototype looks like:</p>
  
  <pre><code>int WINAPI WinMain ( HINSTANCE instance, HINSTANCE prev_instance, PSTR cmd_line, int cmd_show )
  </code></pre>
  
  <p>I was confused as to what this <code>WINAPI</code> identifier was for and found:</p>
  
  <pre><code>#define WINAPI      __stdcall
  </code></pre>
  
  <p>What does this do?  I'm confused by this having something at all after a return type.  What is <code>__stdcall</code> for?  What does it mean when there is something between the return type and function name?</p>