int CALLBACK CShellBrowser::SortByShortcutTo(int InternalIndex1,int InternalIndex2) const { std::wstring ResolvedLinkPath1 = GetShortcutToColumnText(InternalIndex1); std::wstring ResolvedLinkPath2 = GetShortcutToColumnText(InternalIndex2); return StrCmpLogicalW(ResolvedLinkPath1.c_str(),ResolvedLinkPath2.c_str()); }
int CALLBACK CShellBrowser::SortByShortcutTo(const BasicItemInfo_t &itemInfo1, const BasicItemInfo_t &itemInfo2) const { std::wstring ResolvedLinkPath1 = GetShortcutToColumnText(itemInfo1); std::wstring ResolvedLinkPath2 = GetShortcutToColumnText(itemInfo2); return StrCmpLogicalW(ResolvedLinkPath1.c_str(),ResolvedLinkPath2.c_str()); }