[StructLayout(LayoutKind.Sequential)]
struct NMHDR
{
public IntPtr hwndFrom;
public IntPtr idFrom;
public int code;
}
<StructLayout(LayoutKind.Sequential)> _
Structure NMHDR
Public hwndFrom As IntPtr
Public idFrom As IntPtr
Public code As Integer
Public Shared Function FromMessage(ByVal msg As Message) As NMHDR
Return DirectCast(msg.GetLParam(GetType(NMHDR)), NMHDR)
End Function
End Structure
None.
None.