Tech Support > Microsoft Windows > Drivers > How to enable/disable com ports programaticaaly.
How to enable/disable com ports programaticaaly.
Posted by hari on February 14th, 2007


Hi,

I need to know how can I enable/disable serial ports
programatically in code using vc++. I can do it thru device manager,
but I need to do it in my code.


regards
Hari

Posted by Don Burn on February 14th, 2007


Get the WDK and look at the DevCon sample, it shows you how to do this.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply



"hari" <haricibi83@gmail.com> wrote in message
news:1171460195.661737.256910@a34g2000cwb.googlegr oups.com...


Posted by Maxim S. Shatskih on February 14th, 2007


SetupDiCallClassInstaller with proper function code.
DEVCON is a sample.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"hari" <haricibi83@gmail.com> wrote in message
news:1171460195.661737.256910@a34g2000cwb.googlegr oups.com...


Similar Posts