Open the device from within the coinstaller. How?

Posted: 03-16-2007, 06:31 AM
Hello, group.
I have a driver with a coinstaller (this is a USB device driver which
enumerates as a COM-port)

I see my device in the device manager's list of COM-ports (like COM8)
and see my coinstaller's property page there, which works if I manually
specify
in this page that the port is COM8 (then I do CreateFile ("COM8") ...)

I believe that this is not the best way to open the device instance and
that
somewhere in the DeviceInfoSet/DeviceInfoData parameters of the
coinstallers' callback there might be information good for opening
exactly the current device instance thus avoiding "manual enumeration"
through
COM-port number.
I believe, but cannot guess where. :-)

So, could somebody suggest how to open the device from within
coinstaller property page's callback?
(i.e. how to find from there a device name good for CreateFile to open
it)

Thank you.


Reply With Quote

Responses to "Open the device from within the coinstaller. How?"

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to open file management in the mobile device center Jemaho Windows Vista Hardware & Devices 1 06-04-2006 12:53 AM
Class coinstaller dll not signed problem krijn2002 Windows XP Device Drivers 0 02-22-2006 10:05 PM
Cannot open Device Manager Jim Windows XP Configuration & Management 2 08-29-2004 10:11 PM
Device manager won't open Error: failed to create empty doc. Mel Windows XP Device Drivers 0 09-30-2003 05:14 AM
Cannot open capture device KzT Windows XP Movie Maker 0 08-22-2003 07:11 PM