mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-02 10:34:42 +12:00
17 lines
482 B
C#
17 lines
482 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace SystemTrayMenu.NativeMethods
|
|
{
|
|
public static partial class NativeMethods
|
|
{
|
|
[DllImport("shell32.dll", SetLastError = true)]
|
|
private static extern IntPtr SHAppBarMessage(ABM dwMessage, [In] ref APPBARDATA pData);
|
|
|
|
public static IntPtr Shell32SHAppBarMessage(ABM dwMessage, [In] ref APPBARDATA pData)
|
|
{
|
|
return SHAppBarMessage(dwMessage, ref pData);
|
|
}
|
|
}
|
|
}
|