int CALLBACK CShellBrowser::SortBySummaryProperty(int InternalIndex1,int InternalIndex2,DWORD PropertyType) const { std::wstring FileProperty1 = GetSummaryColumnText(InternalIndex1,PropertyType); std::wstring FileProperty2 = GetSummaryColumnText(InternalIndex2,PropertyType); return StrCmpLogicalW(FileProperty1.c_str(),FileProperty2.c_str()); }
int CALLBACK CShellBrowser::SortBySummaryProperty(int InternalIndex1, int InternalIndex2, const SHCOLUMNID *pscid) const { std::wstring FileProperty1 = GetSummaryColumnText(InternalIndex1, pscid); std::wstring FileProperty2 = GetSummaryColumnText(InternalIndex2, pscid); return StrCmpLogicalW(FileProperty1.c_str(), FileProperty2.c_str()); }