How to use createfile api open pagefile.sys get handle ?

How to use createfile api open pagefile.sys get handle ?

why pagedfrg.exe tool can open pagefile.sys get this file cluster info ?

Are you using FSCTL_QUERY_RETRIEVAL_POINTERS to get the cluster info?


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

<pliceman_110> wrote in message news:xxxxx@ntfsd…
> How to use createfile api open pagefile.sys get handle ?
>
> why pagedfrg.exe tool can open pagefile.sys get this file cluster info ?
>
>
></pliceman_110>

TO Don Burn
yes , I want to get the cluster info by FSCTL_QUERY_RETRIEVAL_POINTERS .
but I don’t get pagefile.sys this file handle .

how to do it ? I want to get pagefile.sys cluster info ~~~

Pagedfrg does it at boot execute, right ?
You cannot open the pagefile later, because it’s open
for exclusive
access.

L.