title: What does "WINAPI" in main function mean?
body: <p>Could you please explain to me the <code>WINAPI</code> word in the <code>WinMain()</code> function?</p>
  
  <p>In the simplest way.. </p>
  
  <pre><code>#include &lt;windows.h&gt;
  
  int --&gt;WINAPI&lt;-- WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, 
      LPSTR lpCmdLine, int nCmdShow)
  {
      MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK);
      return 0;
  }
  </code></pre>
  
  <p>Is it just some Windows funky mode?</p>
  
  <p>What does it do?  Or rather what is this C++ feature I haven't encountered yet?</p>