Dependency between PNP Drivers (KMDF and UMDF)

Hi
Is there a way to create a Dependency between two PNP Drivers?
The dependency line in AddService in the INF does not work on PNP Drivers.
Is there other way (INF or programmatically) to create a dependency?
Does it matter if the drivers are two KMDFs or one is UMDF and other is KMDF?

Thanks in Advance.

I assume these are two different pnp stacks. No, there is no way to create a dependency where the os takes care of the problem for you. Umdf or kmdf doesn’t matter. You need to use device interfaces and register for notifications to resolve the relationship at runtime

d

debt from my phone


From: xxxxx@gmail.com
Sent: 6/4/2012 1:15 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Dependency between PNP Drivers (KMDF and UMDF)

Hi
Is there a way to create a Dependency between two PNP Drivers?
The dependency line in AddService in the INF does not work on PNP Drivers.
Is there other way (INF or programmatically) to create a dependency?
Does it matter if the drivers are two KMDFs or one is UMDF and other is KMDF?

Thanks in Advance.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

In the INF file for the dependent driver, can’t you state that the defined parent must be included? Would that come close to the relationship you are looking for? Sorry for lack of specifics, I just recently read this while researching something else and can’t recall the detail.

Nik Twerdochlib
Software Developer

+1.601.607.8309 O
+1.866.522.8678 F

BOMGAR | The Box That’s Revolutionizing Remote Support™

One of the Fastest-Growing Technology Companies in America | Technology Fast 500™

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Monday, June 04, 2012 9:44 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Dependency between PNP Drivers (KMDF and UMDF)

I assume these are two different pnp stacks. No, there is no way to create a dependency where the os takes care of the problem for you. Umdf or kmdf doesn’t matter. You need to use device interfaces and register for notifications to resolve the relationship at runtime

d

debt from my phone


From: xxxxx@gmail.commailto:xxxxx
Sent: 6/4/2012 1:15 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Dependency between PNP Drivers (KMDF and UMDF)
Hi
Is there a way to create a Dependency between two PNP Drivers?
The dependency line in AddService in the INF does not work on PNP Drivers.
Is there other way (INF or programmatically) to create a dependency?
Does it matter if the drivers are two KMDFs or one is UMDF and other is KMDF?

Thanks in Advance.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx>

If the relationship is within the same subtree, esp in the ancestry of the tree, there is no need to specify anything. By being up in the ancestry, it is guaranteed to be present when the child starts. Regardless, there is no way to express dependency out of tree in the inf for a pnp driver that is not boot start

d

debt from my phone


From: Nik Twerdochlib
Sent: 6/4/2012 3:43 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Dependency between PNP Drivers (KMDF and UMDF)

In the INF file for the dependent driver, can?t you state that the defined parent must be included? Would that come close to the relationship you are looking for? Sorry for lack of specifics, I just recently read this while researching something else and can?t recall the detail.

Nik Twerdochlib
Software Developer

+1.601.607.8309 O
+1.866.522.8678 F

BOMGAR | The Box That’s Revolutionizing Remote Support?

One of the Fastest-Growing Technology Companies in America | Technology Fast 500?

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Monday, June 04, 2012 9:44 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Dependency between PNP Drivers (KMDF and UMDF)

I assume these are two different pnp stacks. No, there is no way to create a dependency where the os takes care of the problem for you. Umdf or kmdf doesn’t matter. You need to use device interfaces and register for notifications to resolve the relationship at runtime

d

debt from my phone


From: xxxxx@gmail.commailto:xxxxx
Sent: 6/4/2012 1:15 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Dependency between PNP Drivers (KMDF and UMDF)
Hi
Is there a way to create a Dependency between two PNP Drivers?
The dependency line in AddService in the INF does not work on PNP Drivers.
Is there other way (INF or programmatically) to create a dependency?
Does it matter if the drivers are two KMDFs or one is UMDF and other is KMDF?

Thanks in Advance.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx>