title: InitializeCriticalSectionEx is not member of global namespace in atlwinverapi.h
body: <p>I have recently moved from vs 2013 to vs 2017. we have this project that has these preprocessor Definitions:</p>
  
  <pre><code>WIN32
  DRG_BUILD_DLL
  WINVER=0x0600
  </code></pre>
  
  <p>Now in <code>atlwinverapi.h</code> I get this error that <code>InitializeCriticalSectionEx</code> is not a member of global namespace. Any ideas why this problem is happening? </p>
  
  <pre><code>#if (NTDDI_VERSION &gt;= NTDDI_VISTA) &amp;&amp; !defined(_USING_V110_SDK71_) &amp;&amp; !defined(_ATL_XP_TARGETING)
      // InitializeCriticalSectionEx is available in Vista or later, desktop or store apps
      return ::InitializeCriticalSectionEx(lpCriticalSection, dwSpinCount, Flags);
  </code></pre>