How do I know that the file is a paging file? (may be ZwQueryInformationFile or FSD IOCTL)?
in IRP_MJ_CREATE you can check SL_OPEN_PAGING_FILE flag
or use FsRtlIsPagingFile function
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yandex.ru
Sent: Tuesday, January 25, 2011 3:02 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Question about page file
How do I know that the file is a paging file? (may be ZwQueryInformationFile
or FSD IOCTL)?
NTFSD is sponsored by OSR
For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Petr Kurtin>
Thank you for answer!
> in IRP_MJ_CREATE you can check SL_OPEN_PAGING_FILE flag
or use FsRtlIsPagingFile function
When this opration can be received(create with page file flag)? At the system startup?
–
Pavel Sokolov
> When this opration can be received(create with page file flag)? At the system startup?
Any time the user creates the pagefile in Control Panel/System.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com