My memory is a bit sketchy about this, but I think the only support NT4
had for COM names was for serial.sys. Any other port that wanted a COM
name had to guess, or enumerate the SERIALCOMM key and pick the next
highest value. Because NT4 was not pnp aware, there were no real
facilities to arbitrate com names for drivers.
D
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: Ganesh Okade [mailto:xxxxx@sunlux-india.com]
Sent: Friday, July 26, 2002 7:00 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Where does NT put the friendly COMx name in the
regis try?
Hi,
In that case how do I find what friendly COMx name has been assigned
to my port? My driver is non-plug and play so I presume I cannot use
IoGetDeviceProperty to get the “Portname”. I need this information for
my IoCreateSymbolicLink call. Regards, Ganesh
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
Hello Doron,
Thanks. I tried this but the driver fails to load during startup (it
was happening when I had hardcoded the COMx name. However if I open
“devices” and start the device it works. Service start type is “system”,
device load Order group is “Pointer”. Do I need to specify some other
load order in the INF?
Regards,
Ganesh
If you are a pointer port, why are you exposing a COM name? If all you
are doing is exposing a named device object for mouclass to open, you
don’t need to (nor should you really) expose a com port to user mode.
D
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: Ganesh Okade [mailto:xxxxx@sunlux-india.com]
Sent: Saturday, July 27, 2002 10:15 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Where does NT put the friendly COMx name in the
regis try?
Hello Doron,
Thanks. I tried this but the driver fails to load during startup (it
was happening when I had hardcoded the COMx name. However if I open
“devices” and start the device it works. Service start type is “system”,
device load Order group is “Pointer”. Do I need to specify some other
load order in the INF?
Regards,
Ganesh
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%