C#: Marshalling a “pointer to an int array” from a SendMessage() lParam
问题 I'm trying to subclass an unmanaged statusbar window from my managed COM server using a class inherited from NativeWindow, and am running into a wall trying to make sense of how to properly marshal the contents of an lParam. http://msdn.microsoft.com/en-us/library/bb760757%28VS.85%29.aspx says that the contents of this lParam is of type (LPARAM)(LPINT) aWidths , and that the contents of this variable is actually a "pointer to an integer array." I can't figure out a way to marshal this