Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Create custom local IoTarget in kmdf driver

Alex_FunkyAlex_Funky Member - All Emails Posts: 171
Can I create few local IoTargets in my kmdf driver for implementation of message channels pattern to communication between modules in my code? Some kind of actors messaging pattern....Or only kmdf ioqueue approach using for this purpose?

Comments

  • Doron_HolanDoron_Holan Member - All Emails Posts: 10,525

    IOTargets eventually turn into an IoCallDriver. what you are asking is to send a request to yourself. That scenario quickly turns into how you want to handle a request with an ioqueue. If you want your internal messages to have the same characteristics as a request (format, cancelation), this is an OK pattern, but the message passing is not really private component to componet as it will pass through your top level queue for further dispatching. And each request would need some type of encoding on how to route to the appropriate component.

    d
  • Tim_RobertsTim_Roberts Member - All Emails Posts: 13,627

    For internal communications, you don't need an I/O target. Just plop the requests onto a series of manual queues. Fire an event when you add something. Your other modules can pull them from the queue in order.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • Alex_FunkyAlex_Funky Member - All Emails Posts: 171

    Ok! Thnx for all~

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 7 Dec 2020 LIVE ONLINE
Internals & Software Drivers 25 Jan 2021 LIVE ONLINE
Developing Minifilters 8 March 2021 LIVE ONLINE