title: How to declare an __stdcall function pointer
body: <p>I tried this</p>
  
  <pre><code>typedef void (* __stdcall MessageHandler)(const Task*);
  </code></pre>
  
  <p>This compiles but gives me this warning (VS2003):</p>
  
  <blockquote>
    <p>warning C4229: anachronism used :
    modifiers on data are ignored</p>
  </blockquote>
  
  <p>I want to declare a pointer to a function with stdcall calling convention? What am I doing wrong?</p>