Accessing the data of waveforms in a DLL is unsupported; therefore to read data from or to create a waveform in a DLL you actually need to build simply VIs into the DLL. The VIs should split the Waveforms into the dt, to, and the data array or to build the waveform up from those parts.
For more information select Help>>Search the LabVIEW Bookshelf. Take a look at the Using External Code in LabVIEW, which has a lot of information about passing data to and from DLLs. It was in this manual (p26) that I finally found this answer.
In addition there is a great example at "C:\Program Files\National Instruments\LabVIEW 7.0\examples\dll\data passing\Call Native Code.llb" This has examples of the VIs, the DLLs, and the source needed to pass all types of data between
LabVIEW and a DLL.
Evan
National Instruments