Author: mbosma
Date: Mon Jul 10 22:24:02 2006
New Revision: 23002
URL:
http://svn.reactos.org/svn/reactos?rev=23002&view=rev
Log:
Last parameter of IoQueryVolumeInformation is not optional.
Modified:
branches/cache_manager_rewrite/mm/section.c
Modified: branches/cache_manager_rewrite/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/branches/cache_manager_rewrite/mm/sectio…
==============================================================================
--- branches/cache_manager_rewrite/mm/section.c (original)
+++ branches/cache_manager_rewrite/mm/section.c Mon Jul 10 22:24:02 2006
@@ -902,7 +902,7 @@
NTSTATUS Status;
ULONG SectorSize;
LARGE_INTEGER FileOffset;
- ULONG Length;
+ ULONG Length, ReturnedLength;
Status = MmspRequestPages(PageCount, Pages, Consumer);
if (!NT_SUCCESS(Status))
@@ -942,7 +942,7 @@
FileFsSizeInformation,
sizeof(FILE_FS_SIZE_INFORMATION),
&FileFsSize,
- NULL);
+ &ReturnedLength);
if (NT_SUCCESS(tmpStatus))
{
@@ -4164,13 +4164,13 @@
ULONG Flags;
ULONG OldNrSegments;
NTSTATUS Status;
- ULONG i;
+ ULONG i, ReturnedLength;
Status = IoQueryVolumeInformation(FileObject,
FileFsSizeInformation,
sizeof(FILE_FS_SIZE_INFORMATION),
&FileFsSize,
- NULL);
+ &ReturnedLength);
if (!NT_SUCCESS(Status))
{
return Status;