title: WinApi SetTimer cannot compile
body: <p>I need timer to start function every 1 second.</p>
  
  <p>I have tried <code>SetTimer</code>, my code:</p>
  
  <pre><code>const UINT_PTR TIMER_ID = 1000;
  
  DWORD DownloadThread()
  {
      SetTimer(NULL, TIMER_ID, 1000, (TIMERPROC)DownloadSpeedCounter);
      /*some stuff*/
  }
  
  void DownloadSpeedCounter()
  {
      /*some stuff*/
  }
  </code></pre>
  
  <p>I cannot compile this code and get <code>error C2440: 'type cast' : cannot convert from 'overloaded-function' to 'TIMERPROC'</code></p>
  
  <p>Also it is class member method.</p>