C/C++ example for ProXR Lite USB on Windows

I’d like to integrate a 2-channel ProXR Lite USB relay board with my CNC controller (Mach4). I am looking for some basic example code in C to to control the relays. I keep finding all kinds of C#, VB, Java, Python, etc. code, but I am developing a native DLL, and I don’t have time to churn through the code for the NCDComponent library to figure out what the serial protocol is. Thank you in advance for any suggestions.