using System;
using System.Runtime.InteropServices;
namespace Microsoft.Win32
{
///
/// NMHDR定义
///
public static partial class NativeMethods
{
///
/// NMHDR结构
///
[StructLayout(LayoutKind.Sequential)]
public struct NMHDR
{
///
/// A window handle to the control sending the message.
///
public IntPtr 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; // NM_ code
}
}
}