IoIsOperationSynchronous(): for async IRPs: KeBugCheck(0) -> lie it is sync
authorshort <>
Fri, 31 Jan 2003 19:31:51 +0000 (19:31 +0000)
committershort <>
Fri, 31 Jan 2003 19:31:51 +0000 (19:31 +0000)
ntoskrnl/io/irp.c

index 96c0399..0b681f9 100644 (file)
@@ -328,7 +328,7 @@ IoIsOperationSynchronous(IN PIRP Irp)
        {
 #ifdef LIBCAPTIVE
          /* libcaptive is fully single-thread/single-process synchronous model. */
-         KeBugCheck(0);
+         return TRUE;
 #endif /* LIBCAPTIVE */
          return(FALSE);
        }
@@ -345,7 +345,7 @@ IoIsOperationSynchronous(IN PIRP Irp)
   /* Otherwise, it is an asynchronous operation. */
 #ifdef LIBCAPTIVE
   /* libcaptive is fully single-thread/single-process synchronous model. */
-  KeBugCheck(0);
+  return TRUE;
 #endif /* LIBCAPTIVE */
   return(FALSE);
 }