From: Youssef Barakat [youssefb@microsoft.com] Sent: Thursday, August 23, 2001 5:19 PM To: NT Developers Interest List Subject: [ntdev] RE: Simulating Multiple serial ports. Hi Ashok, Here are the general steps involved in creating a virtual serial port: 1. In your driver, (which would act as a function driver for a device that enumlates com ports) enumerate PDOs (raw capable) for each virtual port (this would involve your driver playing the role of a bus driver). 2. Name the PDO as \Device\DriverNamennn (DriverName is the name of your driver and the value of nnn is the count of your virtual serial ports). 3. Use a Port Class NULL INF to install the enumerated device. (You can install Serenum as a filter with the same inf file if needed). 4. In the StartDevice routine, create a symbolic link using the PortName value created in the devnode registry by the classinstaller. 5. Handle all the necessary serial port IRPs in your bus driver to provide the required functionality. You might also consider registering an interface, and, for legacy apps, adding the HKLM\HARDWARE\DEVICEMAP\SERIALCOMM entry. Once these steps are implemented, the virtual serial port should behave like a standard physical com port. Regards, Youssef -----Original Message----- From: ashok.kadavakollu@wipro.com [mailto:ashok.kadavakollu@wipro.com] Sent: Wednesday, August 22, 2001 11:19 PM To: NT Developers Interest List Subject: [ntdev] Simulating Multiple serial ports. Hi All, I am trying to simulate multiple serial ports in my driver. I need to make the applications believe that, there are abt 6 COM ports available. How can I achive this.? Essentially i should be able to show all 6 COM ports in the windows Hyper terminal application; Provided , the data from all these COM ports being directed to COM1/COM2 only. Any help is highly appreciated, Rgds, Ashok --- You are currently subscribed to ntdev as: youssefb@microsoft.com To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com --- You are currently subscribed to ntdev as: GlennEverhart@FirstUSA.com To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com