Author: pschweitzer
Date: Mon Oct 27 15:53:58 2008
New Revision: 37033
URL:
http://svn.reactos.org/svn/reactos?rev=37033&view=rev
Log:
- Fixed a typo in MmIsFileAPagingFile name (MmIsFileObjectAPagingFile) and fixed its
calling method
- Added MmIsFileAPagingFile to internal header
- Implemented FsRtlIsPagingFile
Modified:
branches/pierre-fsd/ntoskrnl/fsrtl/filtrctx.c
branches/pierre-fsd/ntoskrnl/include/internal/mm.h
branches/pierre-fsd/ntoskrnl/mm/pagefile.c
Modified: branches/pierre-fsd/ntoskrnl/fsrtl/filtrctx.c
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/fsrtl/filtr…
==============================================================================
--- branches/pierre-fsd/ntoskrnl/fsrtl/filtrctx.c [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/fsrtl/filtrctx.c [iso-8859-1] Mon Oct 27 15:53:58 2008
@@ -16,7 +16,7 @@
/*++
* @name FsRtlIsPagingFile
- * @implemented NT 4.0
+ * @implemented NT 5.2
*
* The FsRtlIsPagingFile routine checks if the FileObject is a Paging File.
*
@@ -32,8 +32,7 @@
NTAPI
FsRtlIsPagingFile(IN PFILE_OBJECT FileObject)
{
- KEBUGCHECK(0);
- return FALSE;
+ return MmIsFileObjectAPagingFile(FileObject);
}
/*
Modified: branches/pierre-fsd/ntoskrnl/include/internal/mm.h
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/include/int…
==============================================================================
--- branches/pierre-fsd/ntoskrnl/include/internal/mm.h [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/include/internal/mm.h [iso-8859-1] Mon Oct 27 15:53:58
2008
@@ -634,6 +634,10 @@
NTAPI
MmInitPagingFile(VOID);
+BOOLEAN
+NTAPI
+MmIsFileObjectAPagingFile(PFILE_OBJECT FileObject);
+
NTSTATUS
NTAPI
MmReadFromSwapPage(
Modified: branches/pierre-fsd/ntoskrnl/mm/pagefile.c
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/mm/pagefile…
==============================================================================
--- branches/pierre-fsd/ntoskrnl/mm/pagefile.c [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/mm/pagefile.c [iso-8859-1] Mon Oct 27 15:53:58 2008
@@ -137,8 +137,8 @@
BOOLEAN
-STDCALL
-MmIsFileAPagingFile(PFILE_OBJECT FileObject)
+NTAPI
+MmIsFileObjectAPagingFile(PFILE_OBJECT FileObject)
{
ULONG i;