using System; using System.Runtime.InteropServices; namespace Vanara.PInvoke { public static partial class User32 { /// Contains information about a notification message. [StructLayout(LayoutKind.Sequential)] public struct NMHDR { /// A window handle to the control sending the message. public HWND hwndFrom; /// An identifier of the control sending the message. public IntPtr idFrom; /// /// A notification code. This member can be one of the common notification codes (see Notifications under General Control /// Reference), or it can be a control-specific notification code. /// public int code; } } }