win: Fix total value in SetProgressBar API.