// // 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 { internal static bool Gdi32DeleteObject(IntPtr hObject) { return DeleteObject(hObject); } [DllImport("gdi32.dll", SetLastError = true, CharSet = CharSet.Unicode)] private static extern bool DeleteObject(IntPtr hObject); } }