In the following class, the attributes of WParam
and LParam
are IntPtr
type, but I do not know the meaning they represent. I found them in the definition of C++. It is rather troublesome. Is there a way to know the above two attributes quickly?
namespace System.Windows.Forms
{
public struct Message
{
public int Msg { get; set; }
public IntPtr WParam { get; set; }
public IntPtr LParam { get; set; }
public IntPtr Result { get; set; }
public static Message Create(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam);
public override bool Equals(object o);
public override int GetHashCode();
public object GetLParam(Type cls);
public override string ToString();
public static bool operator ==(Message a, Message b);
public static bool operator !=(Message a, Message b);
}
}