Can you retrieve complex data types like structs from the PInvoke calls?

Q

Can you retrieve complex data types like structs from the PInvoke calls?

✍: Guest

A

Yes, just make sure you re-declare that struct, so that managed code knows what to do with it.

2014-12-08, 1790👍, 0💬