title: Win32 function to get path to C:\ProgramData
body: <p>My app needs to install some files that can be edited by the application at run time.  Install shield provides an alias [CommonAppDataFolder] that will resolve to c:\programData on Vista and Windows 7 and will also work on Windows XP.  Is there a win32 function that will return a similar path?</p>
  
  <p>Maybe I need to call different functions depending on the operating system?</p>