I am trying to get multiple parameters from a struct in a single interop call. The struct in question has the following signature:
struct struct_name
{
uint16_t param0;
uint8_t param1;
uint8_t param2;
uint8_t *param3;
};
and I am trying to get all of these parameters into managed c# code.
That's an "advanced" usage scenario that's not supported currently. Only base CLR types can be used in Interop. You have to have those as individual params passed with ref.