int CALLBACK CShellBrowser::SortByImageProperty(int InternalIndex1,int InternalIndex2,PROPID PropertyId) const { std::wstring ImageProperty1 = GetImageColumnText(InternalIndex1,PropertyId); std::wstring ImageProperty2 = GetImageColumnText(InternalIndex2,PropertyId); return StrCmpLogicalW(ImageProperty1.c_str(),ImageProperty2.c_str()); }
int CALLBACK CShellBrowser::SortByImageProperty(const BasicItemInfo_t &itemInfo1, const BasicItemInfo_t &itemInfo2, PROPID PropertyId) const { std::wstring ImageProperty1 = GetImageColumnText(itemInfo1,PropertyId); std::wstring ImageProperty2 = GetImageColumnText(itemInfo2,PropertyId); return StrCmpLogicalW(ImageProperty1.c_str(),ImageProperty2.c_str()); }