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.

Monitor New Creation File on pre&post call back

Alis00nAlis00n Member Posts: 5
edited April 9 in NTFSD

Hi, i'm new in this forum and Minifilter driver
i wanna monitor just New File Creation Operation on PreCreated and PostCreated Callback
i try to (irp->IoStatus.Information == FILE_DOES_NOT_EXIST) but does't work
how can i do that?
thank you all

i'm apologize
this correct (Data->IoStatus.Information == FILE_CREATED))

Post edited by Alis00n on


  • Scott_Noone_(OSR)Scott_Noone_(OSR) Administrator Posts: 3,450
    1. Create a secondary FAT32 volume and only attach your filter to this volume
    2. Have your filter print out information for every Pre/PostCreate operation
    3. Use FileTest to create some files/perform file operations
    4. Look at logs and try to understand what's happening
    5. Repeat steps 3-4


  • Alis00nAlis00n Member Posts: 5

    thank a lot

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