Recycle bin functions!

To query recycle bin information call ShQueryRecycleBin! An e.g. [sourcecode language=’cpp’]void GetchMeRecycleBinInfo() {    SHQUERYRBINFO RecycleBinInfo = { 0 };    RecycleBinInfo.cbSize = sizeof( RecycleBinInfo ); // Tell size of structure    VERIFY( SHQueryRecycleBin( _T( “C:” ), NULL ) == S_OK ); // Get recycle bin info // Display information    CString csRecycleBinInfo;    csRecycleBinInfo.Format( […]
Continue reading…