Example #1
0
void CDirstatDoc::OnCleanupEmptyrecyclebin()
{
    CModalShellApi msa;
    msa.EmptyRecycleBin();

    RefreshRecyclers();
    UpdateAllViews(NULL);
}
Example #2
0
void CDirstatDoc::OnCleanupEmptyrecyclebin()
{
	CModalShellApi msa;

	if (!msa.IsRecycleBinApiSupported())
		return;

	msa.EmptyRecycleBin();

	RefreshRecyclers();
	UpdateAllViews(NULL);
}