Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IoAttachDeviceToDeviceStack

1 view
Skip to first unread message

Al Harper

unread,
Aug 10, 1997, 3:00:00 AM8/10/97
to

Does anyone have any experience with this KMD call
(IoAttachDeviceToDeviceStack), or some sampel source code ?

Al Harper

Walter Oney

unread,
Aug 10, 1997, 3:00:00 AM8/10/97
to

Al Harper wrote:
> Does anyone have any experience with this KMD call
> (IoAttachDeviceToDeviceStack), or some sampel source code ?

That call is a normal part of a WDM driver's AddDevice function. Is that
how you're trying to use it? If so, you just pass it the address of a
DEVICE_OBJECT you've created and the address of the PDO you got as an
argument. It returns a DEVICE_OBJECT* (not necessarily the same as the
PDO because there may be intervening filter drivers), which you save
somewhere -- most likely in your device extension. When you want to pass
requests down, you use this pointer in your call to IoCallDriver or
PoCallDriver.

Al Harper

unread,
Aug 18, 1997, 3:00:00 AM8/18/97
to

Does anyone have any experience with this KMD call
(IoAttachDeviceToDeviceStack), or some sampel source code ?

Al Harper


0 new messages