Phoenix T,
int32 __CFUNC
DAQmxGetSysDevNames(char *data, uInt32 bufferSize);
The return type is the error code returned by the function in the event of an error or warning. A value of 0 means no error, a positive value indicates a warning and a negative value indicates an error.
I ran a C program that uses the function and "data" came back with the string:
Dev1, Dev2, Dev4, SC1Mod1
So you can parse out the devices by looking for commas. I hope this helps but let me know if I can do anything else for you.
Regards,
Jeff Tipps
Applications Engineer
National Instruments