IofCompleteRequest(): APC invocation is now ignored, no longer fatal
authorshort <>
Wed, 20 Nov 2002 02:05:54 +0000 (02:05 +0000)
committershort <>
Wed, 20 Nov 2002 02:05:54 +0000 (02:05 +0000)
 - I am not sure if it is needed without any asynchronous events
+IoIsOperationSynchronous()

ntoskrnl/io/irp.c

index 9f954c2..8931c6d 100644 (file)
@@ -272,7 +272,7 @@ IofCompleteRequest(PIRP Irp,
                         KernelMode);
        DPRINT("Finished dispatching APC\n");
 #else /* !LIBCAPTIVE */
-       KeBugCheck(0);
+       DPRINT("captive: FIXME: Ignoring APC!\n");
 #endif /* !LIBCAPTIVE */
      }
    else
@@ -292,7 +292,6 @@ IoCompleteRequest(PIRP Irp,
                     PriorityBoost);
 }
 
-#ifndef LIBCAPTIVE
 
 /**********************************************************************
  * NAME                                                        EXPORTED
@@ -338,6 +337,7 @@ IoIsOperationSynchronous(IN PIRP Irp)
   return(FALSE);
 }
 
+#ifndef LIBCAPTIVE
 
 VOID STDCALL
 IoEnqueueIrp(IN PIRP Irp)