mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-01 01:27:33 +13:00
16 lines
534 B
C#
16 lines
534 B
C#
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
|
|
namespace SystemTrayMenu.DllImports
|
|
{
|
|
public static partial class NativeMethods
|
|
{
|
|
[DllImport("shell32.dll", CharSet = CharSet.Unicode)]
|
|
private static extern int FindExecutable(string lpFile, string lpDirectory, [Out] StringBuilder lpResult);
|
|
|
|
public static void Shell32FindExecutable(string lpFile, string lpDirectory, [Out] StringBuilder lpResult)
|
|
{
|
|
_ = FindExecutable(lpFile, lpDirectory, lpResult);
|
|
}
|
|
}
|
|
}
|