Commit in reactos on MAIN
include/rosrtl/sparse.h+9-11.1 -> 1.2
lib/rosrtl/file/sparse.c+1-11.1 -> 1.2
+10-2
2 modified files
add function to the header file

reactos/include/rosrtl
sparse.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- sparse.h	15 Sep 2004 18:57:01 -0000	1.1
+++ sparse.h	15 Sep 2004 19:01:23 -0000	1.2
@@ -1,4 +1,4 @@
-/* $Id: sparse.h,v 1.1 2004/09/15 18:57:01 weiden Exp $
+/* $Id: sparse.h,v 1.2 2004/09/15 19:01:23 weiden Exp $
  */
 
 #ifndef ROSRTL_SPARSE_H__
@@ -19,6 +19,14 @@
              PLARGE_INTEGER pliFileOffset,
              PLARGE_INTEGER pliBeyondFinalZero);
 
+DWORD
+STDCALL
+QueryAllocatedFileRanges(HANDLE hFile,
+                         PLARGE_INTEGER pliFileOffset,
+                         PLARGE_INTEGER pliLength,
+                         PFILE_ALLOCATED_RANGE_BUFFER lpAllocatedRanges,
+                         DWORD dwBufferSize);
+
 #ifdef __cplusplus
 }
 #endif

reactos/lib/rosrtl/file
sparse.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- sparse.c	15 Sep 2004 18:57:02 -0000	1.1
+++ sparse.c	15 Sep 2004 19:01:23 -0000	1.2
@@ -105,7 +105,7 @@
                      lpAllocatedRanges,
                      dwBufferSize,
                      &BytesRet,
-                      NULL))
+                     NULL) != 0)
   {
     return BytesRet;
   }
CVSspam 0.2.8