Rich,
Okay, I did a bit of work. I am not a C/C++ programmer (yet) so I can't guarantee the accuracy of the .c file, but it gives you an idea. Also, keep note of the fact that the CIN is of the wrong data type, but it is a structure.
The .c file contains the structure definition for the "Image" data type, and I also included (in comments) the definition for the waveform type, as accurately as I know of.
The VI contains the conversion of the waveform type into a cluster, as well as the input of the "Image" cluster into the CIN.
I hope this helps