The best way to get started is to use one of the NI-DAQ shipping examples provided with the driver. Take a look at the ones from the C:\...\NI-DAQ\examples\VisualC\AO, that show how to do analog output tasks. The function you mentioned is for digital line updates and has nothing to do with the Analog Output channels.
Regards Filipe A. Applications Engineer National Instruments