I assume by DDraw you mean DirectDraw from DirectX. CVI doesn't have DirectX drawing support functions. I would recommend you look at using the canvas control. The canvas control is a general drawing area where lines, shapes and bitmaps can be drawn.
Look at the example \cvi\samples\userint\canvas.prj for an example of using the canvas control.
Best Regards,
Chris Matthews
National Instruments