shlwapi: Stub implementation for SHSetTimerQueueTimer.
This commit is contained in:
parent
560113b743
commit
ddbb317915
|
@ -4222,6 +4222,32 @@ BOOL WINAPI SHQueueUserWorkItem(LPTHREAD_START_ROUTINE pfnCallback,
|
||||||
return QueueUserWorkItem(pfnCallback, pContext, 0);
|
return QueueUserWorkItem(pfnCallback, pContext, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* SHSetTimerQueueTimer (SHLWAPI.263)
|
||||||
|
*/
|
||||||
|
HANDLE WINAPI SHSetTimerQueueTimer(HANDLE hQueue,
|
||||||
|
WAITORTIMERCALLBACK pfnCallback, LPVOID pContext, DWORD dwDueTime,
|
||||||
|
DWORD dwPeriod, LPCSTR lpszLibrary, DWORD dwFlags)
|
||||||
|
{
|
||||||
|
HANDLE hNewTimer;
|
||||||
|
|
||||||
|
/* SHSetTimerQueueTimer flags -> CreateTimerQueueTimer flags */
|
||||||
|
if (dwFlags & TPS_LONGEXECTIME) {
|
||||||
|
dwFlags &= ~TPS_LONGEXECTIME;
|
||||||
|
dwFlags |= WT_EXECUTELONGFUNCTION;
|
||||||
|
}
|
||||||
|
if (dwFlags & TPS_EXECUTEIO) {
|
||||||
|
dwFlags &= ~TPS_EXECUTEIO;
|
||||||
|
dwFlags |= WT_EXECUTEINIOTHREAD;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!CreateTimerQueueTimer(&hNewTimer, hQueue, pfnCallback, pContext,
|
||||||
|
dwDueTime, dwPeriod, dwFlags))
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
return hNewTimer;
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* IUnknown_OnFocusChangeIS (SHLWAPI.@)
|
* IUnknown_OnFocusChangeIS (SHLWAPI.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -260,7 +260,7 @@
|
||||||
260 stdcall -noname SHQueueUserWorkItem(long long long long long long long)
|
260 stdcall -noname SHQueueUserWorkItem(long long long long long long long)
|
||||||
261 stub -noname SHCreateTimerQueue
|
261 stub -noname SHCreateTimerQueue
|
||||||
262 stub -noname SHDeleteTimerQueue
|
262 stub -noname SHDeleteTimerQueue
|
||||||
263 stub -noname SHSetTimerQueueTimer
|
263 stdcall -noname SHSetTimerQueueTimer(long ptr ptr long long str long)
|
||||||
264 stub -noname SHChangeTimerQueueTimer
|
264 stub -noname SHChangeTimerQueueTimer
|
||||||
265 stub -noname SHCancelTimerQueueTimer
|
265 stub -noname SHCancelTimerQueueTimer
|
||||||
266 stdcall -noname SHRestrictionLookup(long wstr ptr ptr)
|
266 stdcall -noname SHRestrictionLookup(long wstr ptr ptr)
|
||||||
|
|
|
@ -1041,6 +1041,10 @@ HRESULT WINAPI DllInstall(BOOL,LPCWSTR) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
BOOL WINAPI IsOS(DWORD);
|
BOOL WINAPI IsOS(DWORD);
|
||||||
|
|
||||||
|
/* SHSetTimerQueueTimer definitions */
|
||||||
|
#define TPS_EXECUTEIO 0x00000001
|
||||||
|
#define TPS_LONGEXECTIME 0x00000008
|
||||||
|
|
||||||
#include <poppack.h>
|
#include <poppack.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue