OSRLogo
OSRLogoOSRLogoOSRLogo x OSR Custom Development Services
OSRLogo
x

Everything Windows Driver Development

x
x
x
GoToHomePage xLoginx
 
 

    Mon, 23 Oct 2017     115118 members

   Login
   Join


 
 
Contents
  Online Dump Analyzer
OSR Dev Blog
The NT Insider
Downloads
ListServer / Forum
Driver Jobs
  Express Links
  · The NT Insider Digital Edition - May-June 2016 Now Available!
  · Windows 8.1 Update: VS Express Now Supported
  · HCK Client install on Windows N versions
  · There's a WDFSTRING?
  · When CAN You Call WdfIoQueueP...ously

Are You Writing a Port Driver?

Are you writing a port driver that sits underneath the disk, tape, or CD-ROM class driver? If so, want to drop me a line and tell me why you didn't write your driver as a SCSI or IDE miniport driver? I'm collecting a list of reasons for some friends in Redmond.

Also, if you have taken on this task, be sure you read the code in the disk class driver that shows how one large request (exceeding the maximum buffer size for the underlying disk device) is broken-up into a series of smaller requests. Note how the MDL is reused for each subsequent request.

We've seen a bunch of folks burned by this logic. Which on one hand is understandable, because it's unexpected, but on the other hand it's also inexcusable, because the complete source code for the disk class driver appears in the DDK, Caveat, driver writers.

And please do drop me a line if you're writing a port driver, OK? I'd appreciate it.

Related Articles
Writing a Virtual Storport Miniport Driver

User Comments
Rate this article and give us feedback. Do you find anything missing? Share your opinion with the community!
Post Your Comment

Post Your Comments.
Print this article.
Email this article.

Writing WDF Drivers I: Core Concepts
LAB

Nashua (Amherst), NH
15-19 May 2017

Writing WDF Drivers II: Advanced Implementation Techniques
LAB

Nashua (Amherst), NH
23-26 May 2017

Kernel Debugging and Crash Analysis
LAB

Dulles (Sterling), VA
26-30 Jun 2017

Windows Internals and Software Driver Development
LAB

Nashua (Amherst), NH
24-28 Jul 2017

 
 
 
 
x
LetUsHelp
 

Need to develop a Windows file system solution?

We've got a kit for that.

Need Windows internals or kernel driver expertise?

Bring us your most challenging project - we can help!

System hangs/crashes?

We've got a special diagnostic team that's standing by.

Visit the OSR Corporate Web site for more information about how OSR can help!

 
bottom nav links