title: Setting wallpaper with Win API
body: <p>I want to programmatically set a wallpaper. Here's the only solution I've found so far: </p>
  
  <pre><code>SystemParametersInfoW(SPI_SETDESKWALLPAPER, 1, (void*)wallpaperImageFilePath.utf16(), SPIF_UPDATEINIFILE | SPIF_SENDCHANGE);
  </code></pre>
  
  <p>My question is: how to tell Windows I want the wallpaper image centered (not resized)? The solution above always sets the image in stretch mode. According to MSDN, there are no flags to accompany <code>SPI_SETDESKWALLPAPER</code>.</p>