The SelectSrc function takes the name /or part of it/ of the device you want to select. For example:
int a;
a = SelectSrc("Mic"); //This should select the mic for recording
The SetVolume function takes two parameters- the name of the device (just like in SelectSrc) and the volume to set. To see the max volume you can have on the given mixer control, just see what the function returns. For example, to set mic recording's volume to max, do this:
long int a;
a = SetVolume("Mic",0);
a = SetVolume("Mic",a);