Exemplo n.º 1
0
int CALLBACK CShellBrowser::SortByFileSystem(int InternalIndex1,int InternalIndex2) const
{
	std::wstring FileSystemName1 = GetFileSystemColumnText(InternalIndex1);
	std::wstring FileSystemName2 = GetFileSystemColumnText(InternalIndex2);

	return StrCmpLogicalW(FileSystemName1.c_str(),FileSystemName2.c_str());
}
Exemplo n.º 2
0
int CALLBACK CShellBrowser::SortByFileSystem(const BasicItemInfo_t &itemInfo1, const BasicItemInfo_t &itemInfo2) const
{
	std::wstring FileSystemName1 = GetFileSystemColumnText(itemInfo1);
	std::wstring FileSystemName2 = GetFileSystemColumnText(itemInfo2);

	return StrCmpLogicalW(FileSystemName1.c_str(),FileSystemName2.c_str());
}