Export (0) Print
Expand All
Expand Minimize

FsRtlIsPagingFile routine

The FsRtlIsPagingFile routine determines whether a given file is a paging file.

Syntax


LOGICAL FsRtlIsPagingFile(
  _In_  PFILE_OBJECT FileObject
);

Parameters

FileObject [in]

Pointer to a file object for the file.

Return value

FsRtlIsPagingFile returns TRUE if the file represented by FileObject is a paging file, otherwise FALSE.

Remarks

File system filter drivers call FsRtlIsPagingFile to determine whether a given file object represents a paging file.

Note   If FsRtlIsPagingFile is called in the create completion ("post-create") path, it returns FALSE, even if the file is a paging file. However, it works properly on Windows Vista and later.

Requirements

Version

This routine is available on Update Rollup for Windows 2000 Service Pack 4 (SP4) and on Windows XP and later.

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

See also

FsRtlPostPagingFileStackOverflow
FsRtlSupportsPerStreamContexts

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft