This topic describes hoe to track changes made to file and free disk space.
To be notified whenever there is a change in the file system, use RFs::NotifyChange() . This is better than having to poll regularly.
Use the TOpenFileScan class to find out which files are open, and the thread id of the program that has them open. This is useful for programs such as shells to be able to highlight files that are presently open. It is also useful for backup programs, which may need to close or suspend the owning program before doing a backup.
Clients can use RFs::NotifyDiskSpace() to ask that they be notified when free disk space on a drive crosses a client defined threshold value. This means that a client is notified if free disk space either increases above the threshold value or decreases below that value.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.