void CDirstatDoc::OnCleanupEmptyrecyclebin() { CModalShellApi msa; msa.EmptyRecycleBin(); RefreshRecyclers(); UpdateAllViews(NULL); }
void CDirstatDoc::OnCleanupEmptyrecyclebin() { CModalShellApi msa; if (!msa.IsRecycleBinApiSupported()) return; msa.EmptyRecycleBin(); RefreshRecyclers(); UpdateAllViews(NULL); }