Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
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/
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 |
Comments
I don't think we can do it through API. Even i explored around sometime but couldn't find any useful info.
Don’t you just set the Registry entires via your INF?
Peter
Peter Viscarola
OSR
@OSRDrivers
I ended up calling wevtutil from installer as custom action. This utility modifies a LOT of registry entries during manifest registration.
Hmmmm... IIRC, that's how we do it. There aren't THAT many entries. And, IIRC, even "universal INFs" are allowed to do this (because there is not good way to do it otherwise).
Anyhow... glad you found a way to do it.
Peter
Peter Viscarola
OSR
@OSRDrivers
Better yet... here’s a discussion we had a few years back on this topic.
There's also the AddEventProvider directive that you can supposedly put in your INF file. But I've personally never seen it used. It's relatively new.
Peter
Peter Viscarola
OSR
@OSRDrivers
Thank you Peter !