CShellFolderPtr GetShellFolderItem(const FolderList& folder_list, size_t index) { if (index < folder_list.size()) { FolderList::const_iterator it= folder_list.begin(); advance(it, index); return *it; } ASSERT(false); return CShellFolderPtr(); }