Via Win32? Try “FlushBuffers”.
From kernel? Try IRP_MJ_FLUSH_BUFFERS
In both cases, you can open the volume (“??\C:” for example) and perform
the flush against that. It will flush any cached dirty data to disk.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: Steel Chueh [mailto:xxxxx@pchome.com.tw]
Sent: Friday, May 09, 2003 2:35 AM
To: File Systems Developers
Subject: [ntfsd] Any Possible API to force W2k to flush the content of the
removable disk ?
Any Possible API to force W2k to flush the content of the removable disk ?
Thanks.
==========================================================
92$BG/T"2HEEg*N`25!"J:5i5;=Q;N}Dj3+;O>771(J
http://edm-prg.epaper.com.tw/click.php?ad_code=6081
PChome$B9XJ*!'Bf_TBh0lE*9XJ*LVck!*(J
http://shopping.pchome.com.tw/
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com