reactos/lib/msafd/misc
diff -u -r1.27 -r1.28
--- dllmain.c 19 Dec 2004 20:13:28 -0000 1.27
+++ dllmain.c 21 Dec 2004 18:38:49 -0000 1.28
@@ -1609,7 +1609,6 @@
PASYNC_COMPLETION_ROUTINE AsyncCompletionRoutine;
IO_STATUS_BLOCK IOSB;
NTSTATUS Status;
- LARGE_INTEGER Timeout;
/* Make the Thread Higher Priority */
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL);
@@ -1620,11 +1619,11 @@
(PVOID*)&AsyncCompletionRoutine,
&AsyncContext,
&IOSB,
- &Timeout);
+ NULL);
/* Call the Async Function */
if (NT_SUCCESS(Status)) {
- //(*AsyncCompletionRoutine)(AsyncContext, IOSB);
+ (*AsyncCompletionRoutine)(AsyncContext, &IOSB);
} else {
/* It Failed, sleep for a second */
Sleep(1000);