C# wrapper for array of three pointers

后端 未结 1 1045
一向
一向 2021-01-23 15:13

I\'m currently working on a C# wrapper to work with Dallmeier Common API light.
See previous posting: C# wrapper and Callbacks

I\'ve got pretty much everything \'w

相关标签:
1条回答
  • 2021-01-23 15:45

    unsigned char** yuvData should be defined as [MarshalAs(UnmanagedType.ByValArray,SizeConst=3)] IntPtr[] yuvData

    You will then get an array of 3 IntPtrs. You can the read the actual data using the Marshal.Read or Marshal.Copy.

    0 讨论(0)
提交回复
热议问题