You can't with the NI-DAQ C library. It doesn't support virtual channels. The NI-DAQ ActiveX controls do support named channels, but there are not function for retrieving the available list from Measurement & Automation Explorer.
Best Regards,
Chris Matthews
Measurement Studio Support Manager