Re: Making my own serial driver's "port" appear in de vice manager as COMx

Hi

In the Driver StartDevice() routine you need to create the SERIALCOMM
registry entry, using the port number assigned by the system.

Refer the Serial.Sys sample in DDK.

Bye
-Sanesh Kumar K

-----Original Message-----
From: Ganesh Okade [mailto:xxxxx@sunlux-india.com]
Sent: 05 July 2002 3:33 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Making my own serial driver’s “port” appear in
device manager as COMx

Hello Rajiv,
I wrote an INF file for my device and installed my device using
Add/Remove hardware as a COM port. The driver is coming up as a COM port
now and it does not show any error in the device manager. The driver also
has been successfully loaded. But when I open a path on “COM3” (which is
the name given to my device by W2K) my driver’s despatch function is NOT
getting called. There was no entry in HKLM…\SERIALCOMM for my device
(though it still was being shown as a port) so I added an entry myself.
Still doesnot work.
I was wondering about the point you madein your last comment on
creating a symbolic name to my device as COMx. Is it a must to give the
symbolic name the same as that of the portname (COMx) which has been given
by W2K to my device? I have name it as “VirPort” instead.


You are currently subscribed to ntdev as: xxxxx@ctd.hcltech.com
To unsubscribe send a blank email to %%email.unsub%%