title: Getting OS build version from Win32 Api C++
body: <p>I am trying to find the build version of Windows Server 2016 machines, for example RS1 or RS3. There was an API to do this - <code>GetVersionEx()</code> - but is now deprecated.</p>
  
  <p>MSDN says to use <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dn424972.aspx" rel="nofollow noreferrer">Version Helper Functions</a> instead.</p>
  
  <p>I want the build version, for ex: 1607 for RS1. </p>
  
  <p>Is there an API to get this?</p>