Driver-defined interface structures

Hi,

Is it possible to transfer pointers to framework objects in driver-defined interfaces?

I want my bus enumerator driver to transfer a WdfCollection of WdfIoTargets with the Target Context to the child FDOs. Is this feasible in any way?

Regards,
Mridul.

You should not be sharing KMDF objects between two drivers, they are private to each driver instance. If you need to share data between two drivers you need to use WDM or your own structures (list a LIST_ENTRY list head)

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@mediafour.com
Sent: Monday, January 19, 2009 2:28 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Driver-defined interface structures

Hi,

Is it possible to transfer pointers to framework objects in driver-defined interfaces?

I want my bus enumerator driver to transfer a WdfCollection of WdfIoTargets with the Target Context to the child FDOs. Is this feasible in any way?

Regards,
Mridul.


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

Thank you for the response.

I’m new to the driver world, and am only familiar with KMDF. Could you give me a few pointers on where to find information on using WDM to communicate between drivers?

Thanks,
Mridul.

Well you have PIRPs (abstracted by WDFREQUEST) and you have direct call interfaces, usually exchanged by sending a IRP_MJ_PNP/IRP_MN_QUERY_INTERFACE. What exactly do you want to do?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@mediafour.com
Sent: Tuesday, January 20, 2009 8:38 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Driver-defined interface structures

Thank you for the response.

I’m new to the driver world, and am only familiar with KMDF. Could you give me a few pointers on where to find information on using WDM to communicate between drivers?

Thanks,
Mridul.


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