Is there any (set of) routine(s) for purging the cache in a
minifilter?
Failing that is the old way acceptable in a minifilter (calling
CcFlushCache, MmFlushImageSection and CcPurgeCacheSection)?
Of course this is for an encryption filter for cases where a file
has been opened and used prior to the key being provided for its
en/decryption.
–
Kind regards, Dejan M.
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.
No reliable ways. The memory-mapped files cannot be purged.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Dejan Maksimovic”
To: “Windows File Systems Devs Interest List”
Sent: Monday, September 05, 2005 8:02 AM
Subject: [ntfsd] Purging the cache in a mini filter
>
> Is there any (set of) routine(s) for purging the cache in a
> minifilter?
> Failing that is the old way acceptable in a minifilter (calling
> CcFlushCache, MmFlushImageSection and CcPurgeCacheSection)?
>
>
> Of course this is for an encryption filter for cases where a file
> has been opened and used prior to the key being provided for its
> en/decryption.
>
> –
> Kind regards, Dejan M.
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file encryption services.
> Alfa File Protector - File protection and hiding library for Win32
> developers.
> Alfa File Monitor - File monitoring library for Win32 developers.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
That much I am aware of, just wondering whether I need to add reentrancy or not
by using the legacy filter purge model.
“Maxim S. Shatskih” wrote:
No reliable ways. The memory-mapped files cannot be purged.
–
Kind regards, Dejan M.
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.