I know I'm going to feel like a fool when this is answered, but I am
importing a C++ DLL that has an out parameter that is an "unsigned
long *". What do I declare in my import to represent that parameter?
C++ sig:
HRESULT SomeFunction(/*[out]*/ unsigned long * aVariable)
C# code:
[DllImport("file.dll")]
public static extern int SomeFunction(ref ?)
What goes in place of the "?"?
Thanks in advance...