int CALLBACK CShellBrowser::SortByShortName(int InternalIndex1,int InternalIndex2) const { std::wstring ShortName1 = GetShortNameColumnText(InternalIndex1); std::wstring ShortName2 = GetShortNameColumnText(InternalIndex2); return StrCmpLogicalW(ShortName1.c_str(),ShortName2.c_str()); }
int CALLBACK CShellBrowser::SortByShortName(const BasicItemInfo_t &itemInfo1, const BasicItemInfo_t &itemInfo2) const { std::wstring ShortName1 = GetShortNameColumnText(itemInfo1); std::wstring ShortName2 = GetShortNameColumnText(itemInfo2); return StrCmpLogicalW(ShortName1.c_str(),ShortName2.c_str()); }