mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-01 17:47:55 +13:00
16 lines
438 B
C#
16 lines
438 B
C#
// <copyright file="WindowsExplorerSort.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace SystemTrayMenu.Helper
|
|
{
|
|
using System.Collections.Generic;
|
|
|
|
internal class WindowsExplorerSort : IComparer<string>
|
|
{
|
|
public int Compare(string x, string y)
|
|
{
|
|
return DllImports.NativeMethods.ShlwapiStrCmpLogicalW(x, y);
|
|
}
|
|
}
|
|
}
|