-sync RtlDeleteTimer with wine

Giannis Adamopoulos (johnyadams at hotmail dot com)

svn path=/trunk/; revision=39177
This commit is contained in:
Christoph von Wittich 2009-01-28 14:08:13 +00:00
parent 0d38c9174f
commit 45041346e6

View file

@ -505,10 +505,13 @@ NTSTATUS WINAPI RtlDeleteTimer(HANDLE TimerQueue, HANDLE Timer,
HANDLE CompletionEvent)
{
struct queue_timer *t = Timer;
struct timer_queue *q = t->q;
struct timer_queue *q;
NTSTATUS status = STATUS_PENDING;
HANDLE event = NULL;
if (!Timer)
return STATUS_INVALID_PARAMETER_1;
q = t->q;
if (CompletionEvent == INVALID_HANDLE_VALUE)
status = NtCreateEvent(&event, EVENT_ALL_ACCESS, NULL, FALSE, FALSE);
else if (CompletionEvent)