Serial Port Emulation

Hi,
I want to make my virtual serial device visible to the Legacy applications
(for instance Hyper terminal). How do i do this ??
Any suggestions would be of great help!
Thanks a lot,
-Naveen


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi,
I want to make my virtual serial device visible to the Legacy applications
(for instance Hyper terminal). How do i do this ??
The INF file used to install this device is attached below…
Any suggestions would be of great help!
Thanks a lot,
-Naveen
----- BEGIN -----

[Version]
Signature=$CHICAGO$
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%

[Manufacturer]
%MFGNAME%=DeviceList

[DestinationDirs]
DefaultDestDir=10,System32\Drivers

[SourceDisksFiles]
MyCOMM.sys=1

[DeviceList]
%DESCRIPTION%=DriverInstall,MyCOMM

; Windows 2000 Sections
[DriverInstall.NT]
CopyFiles=DriverCopyFiles

[DriverCopyFiles]
MyCOMM.sys,1

[DriverInstall.NT.Services]
AddService=MyCOMM,2,DriverService

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\MyCOMM.sys

[DriverInstall.nt.hw]
AddReg=DriverHwAddReg

[DriverHwAddReg]

; Windows 98 Sections
[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles

[DriverAddReg]
HKR,DevLoader,*vcomm
HKR,NTMPDriver,MyCOMM.sys

[DriverInstall.hw]
AddReg=DriverHwAddReg

; String Definitions
[Strings]
MFGNAME=“My Company.”
INSTDISK=“Installation Disk”
DESCRIPTION=“MyCOMM”

---------- END ---------------


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I guess if u look in to the msports.inf (Microsoft serail port ) u will get the exact idea on what to do…
if i am right u must have an inf for the device and another one for the port that u want to add…
xxxxx@wipro.com wrote: Hi,
I want to make my virtual serial device visible to the Legacy applications
(for instance Hyper terminal). How do i do this ??
The INF file used to install this device is attached below…
Any suggestions would be of great help!
Thanks a lot,
-Naveen
----- BEGIN -----

[Version]
Signature=$CHICAGO$
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%

[Manufacturer]
%MFGNAME%=DeviceList

[DestinationDirs]
DefaultDestDir=10,System32\Drivers

[SourceDisksFiles]
MyCOMM.sys=1

[DeviceList]
%DESCRIPTION%=DriverInstall,MyCOMM

; Windows 2000 Sections
[DriverInstall.NT]
CopyFiles=DriverCopyFiles

[DriverCopyFiles]
MyCOMM.sys,1

[DriverInstall.NT.Services]
AddService=MyCOMM,2,DriverService

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\MyCOMM.sys

[DriverInstall.nt.hw]
AddReg=DriverHwAddReg

[DriverHwAddReg]

; Windows 98 Sections
[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles

[DriverAddReg]
HKR,DevLoader,*vcomm
HKR,NTMPDriver,MyCOMM.sys

[DriverInstall.hw]
AddReg=DriverHwAddReg

; String Definitions
[Strings]
MFGNAME=“My Company.”
INSTDISK=“Installation Disk”
DESCRIPTION=“MyCOMM”

---------- END ---------------


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone with Yahoo! by Phone.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi

If you want your driver to be visible for modem applications, you need to write your driver as a filter for serenum.sys

thanks
SanWin
----- Original Message -----
From: Sriram Neelakandan Iyer
To: NT Developers Interest List
Sent: Wednesday, October 03, 2001 3:57 PM
Subject: [ntdev] Re: Serial Port Emulation

I guess if u look in to the msports.inf (Microsoft serail port ) u will get the exact idea on what to do…

if i am right u must have an inf for the device and another one for the port that u want to add…

xxxxx@wipro.com wrote:

Hi,
I want to make my virtual serial device visible to the Legacy applications
(for instance Hyper terminal). How do i do this ??
The INF file used to install this device is attached below…
Any suggestions would be of great help!
Thanks a lot,
-Naveen
----- BEGIN -----

[Version]
Signature=$CHICAGO$
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%

[Manufacturer]
%MFGNAME%=DeviceList

[DestinationDirs]
DefaultDestDir=10,System32\Drivers

[SourceDisksFiles]
MyCOMM.sys=1

[DeviceList]
%DESCRIPTION%=DriverInstall,MyCOMM

; Windows 2000 Sections
[DriverInstall.NT]
CopyFiles=DriverCopyFiles

[DriverCopyFiles]
MyCOMM.sys,1

[DriverInstall.NT.Services]
AddService=MyCOMM,2,DriverService

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\MyCOMM.sys

[DriverInstall.nt.hw]
AddReg=DriverHwAddReg

[DriverHwAddReg]

; Windows 98 Sections
[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles

[DriverAddReg]
HKR,DevLoader,*vcomm
HKR,NTMPDriver,MyCOMM.sys

[DriverInstall.hw]
AddReg=DriverHwAddReg

; String Definitions
[Strings]
MFGNAME=“My Company.”
INSTDISK=“Installation Disk”
DESCRIPTION=“MyCOMM”

---------- END ---------------


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone with Yahoo! by Phone. — You are currently subscribed to ntdev as: xxxxx@hotpop.com To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hello,

I want to make my virtual serial device visible to the Legacy applications
(for instance Hyper terminal). How do i do this ??

the inf file has no function to do that. You must read the rigth COM
port name from registry. (The PORT class installer write here next
free COMx name) and than use this name to create a symbolic link.

Why you use not the DDK examples?? All this stuff is inside the serial
driver sample.

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Naveen,
You driver should add entries in the
DEVICEMAP registry entries in the registry on the
IRP_MN_START_DEVICE and IRP_MN_STOP_DEVICE or
IRP_MN_REMOVE_DEVICE.

This has nothing to do with inf. (Though you can do by
adding the entries through the INF). I feel doing it
prog is more elegant.

See
HKLM\HARDWARE\DEVICEMAP\SERIALCOMM
You should write the device object nt name to DOS name
mapping as

Device\Serial10 COM10

Cheers,
Jay

xxxxx@wipro.com wrote:

Hi,
I want to make my virtual serial device visible to
the Legacy applications
(for instance Hyper terminal). How do i do this ??
The INF file used to install this device is attached
below…
Any suggestions would be of great help!
Thanks a lot,
-Naveen
----- BEGIN -----

[Version]
Signature=$CHICAGO$
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%

[Manufacturer]
%MFGNAME%=DeviceList

[DestinationDirs]
DefaultDestDir=10,System32\Drivers

[SourceDisksFiles]
MyCOMM.sys=1

[DeviceList]
%DESCRIPTION%=DriverInstall,MyCOMM

; Windows 2000 Sections
[DriverInstall.NT]
CopyFiles=DriverCopyFiles

[DriverCopyFiles]
MyCOMM.sys,1

[DriverInstall.NT.Services]
AddService=MyCOMM,2,DriverService

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\MyCOMM.sys

[DriverInstall.nt.hw]
AddReg=DriverHwAddReg

[DriverHwAddReg]

; Windows 98 Sections
[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles

[DriverAddReg]
HKR,DevLoader,*vcomm
HKR,NTMPDriver,MyCOMM.sys

[DriverInstall.hw]
AddReg=DriverHwAddReg

; String Definitions
[Strings]
MFGNAME=“My Company.”
INSTDISK=“Installation Disk”
DESCRIPTION=“MyCOMM”

---------- END ---------------


You are currently subscribed to ntdev as:
xxxxx@yahoo.com
To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com