Disable file caching

Hi all,
Do you know how can I disable the cache manager for a file object?

Thanks in advance.
-Abel.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try
BOOLEAN CcPurgeCacheSection(
IN PSECTION_OBJECT_POINTERS SectionObjectPointer,
IN PLARGE_INTEGER FileOffset OPTIONAL,
IN ULONG Length,
IN BOOLEAN UninitializeCacheMaps );

CcPurgeCacheSection ( FileObject -> SectionObjectPointer, NULL, 0, TRUE );

-----Original Message-----
From: Abel Mu?oz Alcaraz [mailto:xxxxx@trymedia.com]
Sent: Thursday, January 18, 2001 1:12 PM
To: File Systems Developers
Subject: [ntfsd] Disable file caching

Hi all,
Do you know how can I disable the cache manager for a file object?

Thanks in advance.
-Abel.


You are currently subscribed to ntfsd as: xxxxx@netactive.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com