http://bugs.winehq.org/show_bug.cgi?id=8822
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #15 from Dan Kegel dank@kegel.com 2008-04-26 11:45:39 --- The official example here, http://support.microsoft.com/kb/180736 shows that Sub is the right way to do it, not Function.
Maybe the problem is that in functions, you're supposed to return a value. Try returning -1, e.g. TimerProcFunc = -1 at the end of the function?