Is there any way to get the section handle of a memory mapped file within
the filter driver ? What I want to do is to use ZwOpenSection(), and
ZwUnmapViewOfSection() to remove the mapped file from the cache.
Thanks & Regards,
– Philip
Is there any way to get the section handle of a memory mapped file within
the filter driver ? What I want to do is to use ZwOpenSection(), and
ZwUnmapViewOfSection() to remove the mapped file from the cache.
Thanks & Regards,
– Philip
Yes, you can use ZwCreateSection and ZwMapViewOfSection.
Note that the view will be mapped to user space and not kernel one.
Max
----- Original Message -----
From: “Philip Hong”
To: “File Systems Developers”
Sent: Thursday, February 28, 2002 3:24 PM
Subject: [ntfsd] How to get the section handle of a memory mapped file within the filter driver
> Is there any way to get the section handle of a memory mapped file within
> the filter driver ? What I want to do is to use ZwOpenSection(), and
> ZwUnmapViewOfSection() to remove the mapped file from the cache.
>
> Thanks & Regards,
>
> – Philip
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>