Passing simple data types is easy. What generally causes the problem is when a C function accepts a data structure such as a struct, array or buffer. The important thing to realize is that however ...