Can I install 2 drivers and have both share a .sys by having the driver’s ImagePath registry entries specify the same .sys file?
I have two different devices I want to support. I want each to have different symbolic link names. I want to put the base symbolic link name in the driver’s registry and reuse the same .sys files.
Larry
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
Create different Device Objects. NT will not load twice the same file, it
will return STATUS_ALREADY_LOADED.
----- Original Message -----
From: “Harmon, Larry CT”
To: “NT Developers Interest List”
Sent: Friday, August 10, 2001 10:11 PM
Subject: [ntdev] Can NT/win2k drivers share .sys files?
>
> Can I install 2 drivers and have both share a .sys by having the driver’s
ImagePath registry entries specify the same .sys file?
>
> I have two different devices I want to support. I want each to have
different symbolic link names. I want to put the base symbolic link name in
the driver’s registry and reuse the same .sys files.
>
> Larry
>
>
> —
> You are currently subscribed to ntdev as: danp@jb.rdsor.ro
> 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
I need to support a family of products over USB. The communication mechanism for each family member is identical, however the functionality of the members are quite different. Currently we are using a driver similar to the Microsoft USB Bulk driver for each family memnber, the only difference between them is the GUID it uses to create symbolic links.
We need each family member to use a unique symbolic name base, so we can open the first device of this type or the second device of that type. I was hoping to put the GUID in the drivers registry and have each driver instance use a unique GUID that way. But it looks like that won’t work.
Can I make a copy of a driver, giving it a new file name, and use it in a different driver service entry?
I am hoping to reduce maintenance by having only one binary and allow new family members to be supported without any kernel level work.
Larry
-----Original Message-----
From: Dan Partelly [mailto:danp@jb.rdsor.ro]
Sent: Saturday, August 11, 2001 10:38 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Can NT/win2k drivers share .sys files?
Create different Device Objects. NT will not load twice the same file, it
will return STATUS_ALREADY_LOADED.
----- Original Message -----
From: “Harmon, Larry CT”
To: “NT Developers Interest List”
Sent: Friday, August 10, 2001 10:11 PM
Subject: [ntdev] Can NT/win2k drivers share .sys files?
>
> Can I install 2 drivers and have both share a .sys by having the driver’s
ImagePath registry entries specify the same .sys file?
>
> I have two different devices I want to support. I want each to have
different symbolic link names. I want to put the base symbolic link name in
the driver’s registry and reuse the same .sys files.
>
> Larry
>
>
> —
> You are currently subscribed to ntdev as: danp@jb.rdsor.ro
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: xxxxx@diebold.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
You’re going to be stuck with at least binary per driver. You might
consider have a “thin” driver binary that loads an auxiliary driver with
the bulk of the code. After the thin driver sets up parameters relating
to the GUID, it calls the aux driver.
–
James Antognini
IBM Watson Research
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
If you are talking about IoRegisterDeviceInterface, the GUID there is an
Interface GUID not your setup class GUID. Two different GUIDs. A single
driver object has one setup GUID and can have N interface GUIDs. Each
different variety of interface can indeed have its own GUID and you do not
have to go off and perform some foul hack that would require some sort of
animal sacrifice (typically a goat,) as penance.
-----Original Message-----
From: Harmon, Larry CT [mailto:xxxxx@diebold.com]
Sent: Monday, August 13, 2001 8:17 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Can NT/win2k drivers share .sys files?
I need to support a family of products over USB. The communication
mechanism for each family member is identical, however the functionality of
the members are quite different. Currently we are using a driver similar to
the Microsoft USB Bulk driver for each family memnber, the only difference
between them is the GUID it uses to create symbolic links. We need each
family member to use a unique symbolic name base, so we can open the first
device of this type or the second device of that type. I was hoping to put
the GUID in the drivers registry and have each driver instance use a unique
GUID that way. But it looks like that won’t work.
Can I make a copy of a driver, giving it a new file name, and use it in a
different driver service entry? I am hoping to reduce maintenance by having
only one binary and allow new family members to be supported without any
kernel level work.
Larry
-----Original Message-----
From: Dan Partelly [mailto:danp@jb.rdsor.ro]
Sent: Saturday, August 11, 2001 10:38 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Can NT/win2k drivers share .sys files?
Create different Device Objects. NT will not load twice the same file, it
will return STATUS_ALREADY_LOADED.
----- Original Message -----
From: “Harmon, Larry CT”
To: “NT Developers Interest List”
Sent: Friday, August 10, 2001 10:11 PM
Subject: [ntdev] Can NT/win2k drivers share .sys files?
>
> Can I install 2 drivers and have both share a .sys by having the
> driver’s
ImagePath registry entries specify the same .sys file?
>
> I have two different devices I want to support. I want each to have
different symbolic link names. I want to put the base symbolic link name in
the driver’s registry and reuse the same .sys files.
>
> Larry
>
>
> —
> You are currently subscribed to ntdev as: danp@jb.rdsor.ro
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: xxxxx@diebold.com To unsubscribe
send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@stratus.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