Finding active com ports

  • Thread starter Thread starter news
  • Start date Start date
N

news

I am looking for help in finding a list of all active com ports. I have
found a function to do it, but it is needs a GUID. What is the GUID of a com
port? Am I barking up the wrong tree?

Thanks
 
news said:
I am looking for help in finding a list of all active com ports. I have
found a function to do it, but it is needs a GUID. What is the GUID of a com
port? Am I barking up the wrong tree?

For com ports, perhaps you can use the old good way of
enumerating HKLM\HARDWARE\DEVICEMAP\SERIALCOMM .

If you're going to work with various devices, you can also learn
the modern way - based in interfaces, GUIDs and so on.
Then please read MSDN documentation and ask
in microsoft.public.win32.programmer.kernel or
WinFX newsgroups.

--PA
 
Back
Top