http://bugs.winehq.org/show_bug.cgi?id=7833
------- Additional Comments From ncliang@gmail.com 2007-18-05 19:47 ------- My bad, you are right, the handle hNewTimer should be created here and a pointer passed into CreateTimerQueueTimer. How about:
-- HANDLE hNewTimer = NULL; ... CreateTimerQueueTimer(&hNewTimer, ...); return hNewTimer; --
This avoids possibly returning an uninitialized HANDLE since the stub CreateTimerQueueTimer returns TRUE all the time. Of course, this should not be the case when CreateTimerQueueTimer is actually implemented, but unfortunately, that might take some time...