From: Mark Scott on 7 Jun 2010 01:50 Hi, I want to extract the WDFDEVICE object of the sending device from the WDFREQUEST Object in the servicing (receiving) device's EvtIoInternalDeviceControl routine. WdfIoQueueGetDevice routine returns the Device Object of the receiving device and not tha t of the sender. Is there any mechanism, that the senders Device Object be extracted from the request object in the KMDF model. Thanks, Mark
From: Maxim S. Shatskih on 7 Jun 2010 07:31 > Is there any mechanism, that the senders Device Object be extracted > from the request object in the KMDF model. I think such tricks are not supported neither in KMDF nor in WDM. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: Doron Holan [MSFT] on 7 Jun 2010 12:47 you can't get the senders PDEVICE_OBJECT, he may not even have one. Even if you could, there is no guarantee the sender is WDF so there is PDEVICE_OBJECT -> WDFDEVICE translation. Even if the sender was WDF, the WDFDEVICE of the sender is private to the sender (for instance you cannot get to the context). why do you want to do this ? d "Maxim S. Shatskih" wrote in message news:#Fvf0TjBLHA.5476(a)TK2MSFTNGP06.phx.gbl... > Is there any mechanism, that the senders Device Object be extracted > from the request object in the KMDF model. I think such tricks are not supported neither in KMDF nor in WDM. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
|
Pages: 1 Prev: UMDF crash when uninstall/disable Next: Simple hack to get $800 to your home. |