//
// Copyright (c) PlaceholderCompany. All rights reserved.
//
namespace SystemTrayMenu.DllImports
{
using System;
using System.Runtime.InteropServices;
///
/// wraps the methodcalls to native windows dll's.
///
public static partial class NativeMethods
{
public static bool User32DestroyMenu(IntPtr hMenu)
{
return DestroyMenu(hMenu);
}
// The DestroyMenu function destroys the specified menu and frees any memory that the menu occupies.
[DllImport("user32", SetLastError = true, CharSet = CharSet.Unicode)]
[DefaultDllImportSearchPaths(DllImportSearchPath.UserDirectories)]
private static extern bool DestroyMenu(IntPtr hMenu);
}
}