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

Discussion in 'Windows Vista Drivers' started by David F., Dec 23, 2009.

  1. David F.

    David F. Guest


    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.

    David F., Dec 23, 2009
    1. Advertisements

  2. David F.

    Scott Noone Guest

    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 Noone, Dec 24, 2009
    1. Advertisements

  3. David F.

    Pavel A. Guest

    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.
    Pavel A., Dec 24, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.