- Registry entries for a serial port
- Posted by Lars Birkemose on October 2nd, 2003
Hi gurus
I have a virtual port up and running, seems to install and work fine.
Problem is, that ex HyperTerminal expects an registry entry
HKLM / HARDWARE / DEVICEMAP / SERIALCOMM / COMx
How is this entry generated ?
Do I miss a line in my INF file ?
TIA
Lars
- Posted by Doron Holan [MS] on October 2nd, 2003
your driver has to write the value itself. also, are you registering for
the com port device interface as well? if not, you should be.
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Lars Birkemose" <men@work.dk> wrote in message
news:blgp3m$23di$1@news.cybercity.dk...
- Posted by Lars Birkemose on October 3rd, 2003
"Doron Holan [MS]" wrote...
Im not sure what you mean "registering for the com port device" ?
The installer places the virtual port under Ports, and creates it as first
available COM port.
Is that it ?
BTW
When installing, Windows automaticly figues out there are ex 2 normal COM
ports available, and names the new port COM3.
Where do I read this information when I want to create my symbolic link ?
TIA
Lars
- Posted by Doron Holan [MS] on October 4th, 2003
the port name assigned to your port is under the Device Parameters key in
the registry (IoOpenDeviceRegistryKey). see the serial example, esp
SerialDoExternalNaming. By device interface i mean
IoRegisterDeviceInterface / IoSetDeviceInterfaceState. Again, see the
serial example. If you want things like TAPI to see your device, the
interface is required.
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Lars Birkemose" <men@work.dk> wrote in message
news:blja8f$2j8g$1@news.cybercity.dk...
- Posted by Bimo on October 4th, 2003
Thanks a lot
"Doron Holan [MS]" <doronh@online.microsoft.com> skrev i en meddelelse
news:Ohg%23jxjiDHA.1956@TK2MSFTNGP10.phx.gbl...