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

send ioctl directly to driver object without regard to device object?

7 views
Skip to first unread message

David F.

unread,
Dec 23, 2009, 6:04:29 PM12/23/09
to
Hi,

Is it possible to send IOCTL (or otherwise communicate) directly with a
driver object that may have no device objects? This would be in lieu of
creating a "control" device object.

TIA!!


Scott Noone

unread,
Dec 23, 2009, 7:55:29 PM12/23/09
to
Device objects are the target of I/O operations, so what you're suggesting
doesn't make sense. You'll note that IoCallDriver takes a device object as a
parameter and not a driver object.

-scott

--
Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com


"David F." <df2...@community.nospam> wrote in message
news:AFE1B56C-69DA-4439...@microsoft.com...

Pavel A.

unread,
Dec 23, 2009, 7:57:20 PM12/23/09
to
"David F." <df2...@community.nospam> wrote in message
news:AFE1B56C-69DA-4439...@microsoft.com...

To send an ioctl without a device - not possible (because can't get a
handle, unless you CreateFile on something).
Otherwise communicate with a driver: yes, possible.
--pa

0 new messages