Called periodically by a disk cleanup handler to update the disk cleanup manager on the progress of a purge of deletable files.
HRESULT PurgeProgress( DWORDLONG dwlSpaceFreed, DWORDLONG dwlSpaceToFree, DWORD dwFlags, LPCWSTR pcwszStatus );
The amount of disk space, in bytes, that has been freed at this point in the purge. The disk cleanup manager uses this value to update its progress bar.
The amount of disk space, in bytes, that remains to be freed at this point in the purge.
A flag that can be sent to the disk cleanup manager. It can can have the following value:
This flag should be set if the handler will not call this method again. It is typically set when the purge is near completion.
This method can return one of these values.
||The handler should continue purging deletable files.|
||This value is returned when the user clicks the Cancel button on the disk cleanup manager's dialog box while a scan is in progress. The handler should stop purging files and shut down.|
This method is typically called by the handler's Purge method while the handler is purging deletable files. Handlers should call PurgeProgress periodically to keep the user informed of progress, especially if the purge will take a long time. Calling this method frequently also allows the handler to shut down promptly if a user cancels a purge.
|Minimum supported client||Windows 2000 Professional, Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|DLL||Shell32.dll (version 5.0 or later)|