Interfacing nonPnP devices to PnP device drivers (Win 98/2000)

Which is the best way to interface a nonPnP device, connected on RS232,
with a full PnP device driver developed for similar devices that support
PnP?

Someone has suggested me to create a filter driver to be attached to
Serial, the task of that driver is to force the enumeration of my device.
Now the device driver receives PnP notifications about new device.

Microsoft in MSDN suggests to use IoReportDetectedDevice() function to
force IoManager to enumerate the device, then the device driver will
receive PnP events as if the device was PnP compliant.

Which of two ways (or none) is the best?
Is there any sample that describes such a situation?
Thanks

Michele


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

> Someone has suggested me to create a filter driver to be attached to

Serial, the task of that driver is to force the enumeration of my device.
Now the device driver receives PnP notifications about new device.

Microsoft in MSDN suggests to use IoReportDetectedDevice() function to
force IoManager to enumerate the device, then the device driver will
receive PnP events as if the device was PnP compliant.

Which of two ways (or none) is the best?

First (private SERENUM for your device only) seems to be better.
At least you will have a sane device tree in the PnP manager with your
device under the serial port.

Max


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