Hi again folks.

Is there a way in C of getting the comm port number if I have a handle of said comm port?

obviously I already know the comm number (thats how I got the handle in the first place) but I am using multiple ports and dont want to have to go passing the different numbers around along with the handles, especially when it essentially only going to lead to a more concise error message.

Thanks