Equivalent of a void ** in from external library?

I’m working with an external library where a function has a void ** in its signature as an argument. How would one match this signature in c# without using unsafe code? Any help would be greatly appreciated!

Pointers are unsafe. End of story.

You can write a wrapper function which is handling the memory allocations and data movement but it has to be in C++/CLI. Not C#

This is what I was looking for.

There is also a tool to handle the data-type conversions automatically.
PInvoke Signature Toolkit - > http://clrinterop.codeplex.com/releases/view/14120