2020-03-28 08:43:16 +13:00
|
|
|
|
using System.Runtime.InteropServices;
|
2020-03-09 01:21:15 +13:00
|
|
|
|
|
2020-03-30 06:26:45 +13:00
|
|
|
|
namespace SystemTrayMenu.DllImports
|
2020-03-09 01:21:15 +13:00
|
|
|
|
{
|
2020-03-28 08:43:16 +13:00
|
|
|
|
public static partial class NativeMethods
|
2020-03-09 01:21:15 +13:00
|
|
|
|
{
|
|
|
|
|
[DllImport("shlwapi.dll", CharSet = CharSet.Unicode, ExactSpelling = true)]
|
2020-03-24 00:35:10 +13:00
|
|
|
|
private static extern int StrCmpLogicalW(string x, string y);
|
2020-03-09 01:21:15 +13:00
|
|
|
|
|
2020-03-28 08:43:16 +13:00
|
|
|
|
public static int ShlwapiStrCmpLogicalW(string x, string y)
|
2020-03-09 01:21:15 +13:00
|
|
|
|
{
|
|
|
|
|
return StrCmpLogicalW(x, y);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|