DPI-C issue

in C -

int SnappyOperations(int sel,char (*Raw_Data)[3],int size)

then I want to Dpi this function in sv.

I have to make the wrapper of this function in c as using OpenArrayHandle , Then how Can i make this?

I want to pass the 4k data to this (Raw_Data)…

and size is 4096