public static System.Windows.Point GetMousePosition() { TrayPopup.Win32Point win32Point = default(TrayPopup.Win32Point); TrayPopup.GetCursorPos(ref win32Point); return(new System.Windows.Point((double)win32Point.X, (double)win32Point.Y)); }
internal static extern bool GetCursorPos(ref TrayPopup.Win32Point pt);