Hi, if you are going to pass such a struct to the native world, that would be the way to go, yes. BTW: the value will vary, depending on Win32/Win64 as an IntPtr is elastic. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.