"Nigel Liang" ncliang@gmail.com wrote:
+HANDLE WINAPI SHSetTimerQueueTimer(HANDLE hQueue,
WAITORTIMERCALLBACK pfnCallback, LPVOID pContext, DWORD dwDueTime,
DWORD dwPeriod, LPCSTR lpszLibrary, DWORD dwFlags)
+{
...
- return CreateTimerQueueTimer(&hNewTimer, hQueue, pfnCallback, pContext,
dwDueTime, dwPeriod, dwFlags)?hNewTimer:NULL;
This can't work: CreateTimerQueueTimer and SHSetTimerQueueTimer return different things.