mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-06 12:42:02 +12: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);
|
|
}
|
|
}
|
|
}
|