Sebastian Lackner : kernel32: Silence SetWaitableTimerEx fixme message.
Alexandre Julliard
julliard at winehq.org
Thu Apr 3 13:31:15 CDT 2014
Module: wine
Branch: master
Commit: 0e1b381503751294c6e6925b9ba1eeb0aa770179
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e1b381503751294c6e6925b9ba1eeb0aa770179
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Thu Apr 3 05:25:38 2014 +0200
kernel32: Silence SetWaitableTimerEx fixme message.
---
dlls/kernel32/sync.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c
index 6c452a4..d363e1f 100644
--- a/dlls/kernel32/sync.c
+++ b/dlls/kernel32/sync.c
@@ -1183,8 +1183,12 @@ BOOL WINAPI SetWaitableTimer( HANDLE handle, const LARGE_INTEGER *when, LONG per
BOOL WINAPI SetWaitableTimerEx( HANDLE handle, const LARGE_INTEGER *when, LONG period,
PTIMERAPCROUTINE callback, LPVOID arg, REASON_CONTEXT *context, ULONG tolerabledelay )
{
- FIXME("(%p, %p, %d, %p, %p, %p, %d) semi-stub\n",
- handle, when, period, callback, arg, context, tolerabledelay);
+ static int once;
+ if (!once++)
+ {
+ FIXME("(%p, %p, %d, %p, %p, %p, %d) semi-stub\n",
+ handle, when, period, callback, arg, context, tolerabledelay);
+ }
return SetWaitableTimer(handle, when, period, callback, arg, FALSE);
}
More information about the wine-cvs
mailing list