Can you please give more information on how this function works? Specifically, suppose I give a set of names for which a channel does not exist. Testing this function, the return value is ERROR_ok, but the channelID returned is 0. Is this the expected behavior? Can I use a channelID of 0 to indicate no channel exists? If so, I'd suggest you improve the documentation to reflect this.