Mohktar,
GenerateWaveform16() does not use API, it only creates a waveform in a buffer,
The host software uses addresses obtained using cid_getstaroffset(), these are the address going on the command bus.
You will need to create the list of read/write to be done in order to use the reference design without "life support" and this is not covered by standard technical support; You have the source code and the documentation, the simulation and you can run the host executable.
Best Regards,
Arnaud