title: what is BOOL WINAPI return type
body: <p>I came across a function definition in c++ as follows: (<a href="http://msdn.microsoft.com/en-us/library/ms683219.aspx" rel="nofollow">source</a>)</p>
  
  <pre><code>BOOL WINAPI GetProcessMemoryInfo(
    _In_   HANDLE Process,
    _Out_  PPROCESS_MEMORY_COUNTERS ppsmemCounters,
    _In_   DWORD cb
  );
  </code></pre>
  
  <p>What is the return type here. Is it <code>BOOL WINAPI</code> or <code>BOOL</code>? Where is this type defined?</p>