Bewerken

Delen via


FsRtlIsPagingFile function (ntifs.h)

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

Syntax

LOGICAL FsRtlIsPagingFile(
  [in] PFILE_OBJECT FileObject
);

Parameters

[in] FileObject

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

Requirement Value
Minimum supported client Windows 2000 SP4 Update Rollup; Windows XP
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL

See also

FsRtlPostPagingFileStackOverflow

FsRtlSupportsPerStreamContexts