help in COM port identification using PCMCIA card
Posted on 2008-06-17
I have written a code in vb.net to get the guid for all the ports in the device manager, get the device id connected to each com port, enumerate the ports and see whether the vendor id and product id which i get from the pci card matches with any of them in the com port.if so send at commands
i am getting the guid for the ports using the class SetDiGetGuidfromClassName function. In this function I pass the class name such as "Ports" / "PCI" etc to get the guid.i tried callign this function and that is returning a guid in this formant 0000-0000-000-00000 basically a null string.
What might be the issue?