mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
-sync RtlDeleteTimer with wine
Giannis Adamopoulos (johnyadams at hotmail dot com) svn path=/trunk/; revision=39177
This commit is contained in:
parent
0d38c9174f
commit
45041346e6
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue