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

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:

What is the best book to learn programming a miniport driver for reading and writing to disk?

kernelboikernelboi Member Posts: 19
edited July 4 in NTDEV

I really want to learn how to program miniport and learn how can i write a miniport driver that works with a port driver to read and write to disk and such

I have read windows internals and windows kernel programming but they don't explain these lower layers much, specially programming in them, so i am open to any book suggestion that helps me understand and program in these layers

the reason i say book is because some 10-20 page blog post might not go too much detail, i don't care if its a 1000 page book i just want to learn all the details, and i also want the details in the book to still hold in the newer windows operating systems like windows 7/8/10 so i can program in them too

thanks any suggestion is appreciated!


  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,887

    (Moving to NTDEV ... NTFSD is about file systems and filters)

    Peter Viscarola

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,887

    I’m not aware of any book.., not even a bad one... on this topic.


    Peter Viscarola

  • Don_BurnDon_Burn Member - All Emails Posts: 1,695

    Unfortunately, there is not a book on the subject. Having worked on ScsiPort, StorPort, and Virtual Storport drivers, you learn something from all of them. Same with the hardware, a regular SCSI controller has programming requires that are different than an NVME controller, and are far different than sending packets over a communication link.

    The only way to learn is to work in the area. There are some good (and a lot of bad) samples of storage miniport drivers out there, so start studying. On what is good and bad this forum can provide advice.

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!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA