_VolFlush(
unsigned int Volume,
int Flags
)
This service is called to flush a volume. The flush can just cause dirty buffers to be written or it can force all cached data in the FSD to be discarded in addition. This is usually called before a volume is being removed to flush all dirty buffers to disk.
Flush Flag Values: | |
Value | Meaning |
---|---|
VOL_DISCARD_CACHE | Indicates that any file system data that is cached should be discarded. |