Commit in reactos/lib/kernel32/mem on MAIN
virtual.c+2-21.13 -> 1.14
- Fixed the return value in VirtualQueryEx if NtQueryVirtualMemory returns an error.

reactos/lib/kernel32/mem
virtual.c 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- virtual.c	13 Jun 2004 10:35:52 -0000	1.13
+++ virtual.c	10 Jul 2004 13:08:02 -0000	1.14
@@ -1,4 +1,4 @@
-/* $Id: virtual.c,v 1.13 2004/06/13 10:35:52 navaraf Exp $
+/* $Id: virtual.c,v 1.14 2004/07/10 13:08:02 hbirr Exp $
  *
  * COPYRIGHT:            See COPYING in the top level directory
  * PROJECT:              ReactOS kernel
@@ -198,7 +198,7 @@
   if (!NT_SUCCESS(Status))
     {
       SetLastErrorByStatus(Status);
-      return(ResultLength);
+      return 0;
     }
   return(ResultLength);
 }
CVSspam 0.2.8