Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ddbb3179
Commit
ddbb3179
authored
May 21, 2007
by
Nigel Liang
Committed by
Alexandre Julliard
May 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Stub implementation for SHSetTimerQueueTimer.
parent
560113b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletion
+31
-1
ordinal.c
dlls/shlwapi/ordinal.c
+26
-0
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+1
-1
shlwapi.h
include/shlwapi.h
+4
-0
No files found.
dlls/shlwapi/ordinal.c
View file @
ddbb3179
...
...
@@ -4223,6 +4223,32 @@ BOOL WINAPI SHQueueUserWorkItem(LPTHREAD_START_ROUTINE pfnCallback,
}
/***********************************************************************
* 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.@)
*/
HRESULT
WINAPI
IUnknown_OnFocusChangeIS
(
LPUNKNOWN
lpUnknown
,
LPUNKNOWN
pFocusObject
,
BOOL
bFocus
)
...
...
dlls/shlwapi/shlwapi.spec
View file @
ddbb3179
...
...
@@ -260,7 +260,7 @@
260 stdcall -noname SHQueueUserWorkItem(long long long long long long long)
261 stub -noname SHCreateTimerQueue
262 stub -noname SHDeleteTimerQueue
263 st
ub -noname SHSetTimerQueueTimer
263 st
dcall -noname SHSetTimerQueueTimer(long ptr ptr long long str long)
264 stub -noname SHChangeTimerQueueTimer
265 stub -noname SHCancelTimerQueueTimer
266 stdcall -noname SHRestrictionLookup(long wstr ptr ptr)
...
...
include/shlwapi.h
View file @
ddbb3179
...
...
@@ -1041,6 +1041,10 @@ HRESULT WINAPI DllInstall(BOOL,LPCWSTR) DECLSPEC_HIDDEN;
BOOL
WINAPI
IsOS
(
DWORD
);
/* SHSetTimerQueueTimer definitions */
#define TPS_EXECUTEIO 0x00000001
#define TPS_LONGEXECTIME 0x00000008
#include <poppack.h>
#ifdef __cplusplus
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment