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


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:

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

HLK for minifilter questions

gopal_sharmagopal_sharma Member Posts: 5

I downloaded HLK for minifilter and tried running the tests. There are 21 tests for FS minifilter. Question is:
My driver attaches to a volume but filters files only in a configured directory, it is not coded to filter root of a volume. There is no requirement to do ao. But HLK runs all activity on root of the volume. So tests do pass. Is it ok to submit for signing, or is there anything else to be done ?



  • rod_widdowsonrod_widdowson Member - All Emails Posts: 1,195

    I’d say that there are two answers to your question...

    To answer the explicit question: i don’t know whether it’s enough to just pass and I have managed to not have to learn much about software manufacture. It strikes me that if all that the process asks for is for the tests to pass then you are good. Think of it as the Volkswagen approach...

    However as an engineer wanting to ship the best product and increase left shift you should take every advantage of all the tools available. The HLK tests are infuriating, often irrelevant and sometimes downright wrong but they represent an absolute treasure trove of tools to establish whether your filter is not going to impact the system. They are far from sufficient, but they are a necessary tool towards improving quality.

    So I’d urge you to take the time to see if you can persuade your filter to interact with them, even if it means rendering your filter useless. Cut a branch with the changes and don’t ship it or whatever, but do try to get them to run. Then look at the results, understand what they mean and whether any test failures represent a failure of your filter or just a facet of its function.

    Don’t think of HLK as a hurdle to cross, think of it as a tool to help you.

  • gopal_sharmagopal_sharma Member Posts: 5
    Thank you very much Rod for sharing your wisdom.
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!
Developing Minifilters 24 May 2021 Live, Online
Writing WDF Drivers 14 June 2021 Live, Online
Internals & Software Drivers 27 September 2021 Live, Online
Kernel Debugging 15 November 2021 Live, Online