I have a problem with a custom Windows NT 4.0 serial communication driver.
Under Windows 4.0 I can either unload the serial driver (net stop serial) or
add the DisablePort key in the registry to disable COM1 and COM2 so that my
custom serial communication driver can then attach to the COM ports and do
its thing. This works fine.
With Windows 2000 and older machines, I can go to the DeviceManager and
disable COM1 and/or COM2 and then run my driver just fine. On some of the
newer machines with Windows 2000, the COM1 and COM2 ports seem to be
non-existent when the user disables the port from the Device Manager. My
hunch is that the disabling in effect powers down the serial port. I have
been scouring the Win2K DDK to see what the driver does but I cannot find
anywhere that seems to somehow turn or power down the serial port
specifically. Does anybody know of a port or something that I need to call
to enable the COM1 or COM2 ports when they are disabled from the Device
Manager??
Thanks,
Berto
WCSC(Willies Computer Software Co)
http://www.wcscnet.com
Tel: (281)360-4232 Fax: (281)360-3231