mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-02-12 02:58:30 -05:00
FIX Supporting x64 for .NET and above (NTFY-1)
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@171 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
@@ -21,15 +21,15 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
||||
[DllImport("USER32.DLL", EntryPoint = "CreateWindowExW", SetLastError = true)]
|
||||
public static extern IntPtr CreateWindowEx(int dwExStyle, [MarshalAs(UnmanagedType.LPWStr)] string lpClassName,
|
||||
[MarshalAs(UnmanagedType.LPWStr)] string lpWindowName, int dwStyle, int x, int y,
|
||||
int nWidth, int nHeight, uint hWndParent, int hMenu, int hInstance,
|
||||
int lpParam);
|
||||
int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance,
|
||||
IntPtr lpParam);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Processes a default windows procedure.
|
||||
/// </summary>
|
||||
[DllImport("USER32.DLL")]
|
||||
public static extern long DefWindowProc(IntPtr hWnd, uint msg, uint wparam, uint lparam);
|
||||
public static extern IntPtr DefWindowProc(IntPtr hWnd, uint msg, IntPtr wparam, IntPtr lparam);
|
||||
|
||||
/// <summary>
|
||||
/// Registers the helper window class.
|
||||
|
||||
Reference in New Issue
Block a user