I/O Queues and You

I got an interesting question via mail recently, “Do I really need to create a queue object in my UMDF driver?”  Well, this is another one of those, “only if” type questions. For instance – Only if your driver is not handling any I/O from a top edge method which results in the I/O manager…


Cross stack communications

The subject of how to talk to another device stack has come up again, and since I only briefly touched on it a year ago, I thought it would be good provide some code snippets and a little more background on how to accomplish such a feat.  The gist of what we are trying to…


House cleaning

The fourth part of Abhishek’s online UMDF debugging tutorials is up now. 🙂 http://www.microsoft.com/whdc/devtools/debugging/umdftraining.mspx Next up, those of you playing with Windows 7 may have noticed that the “Found New Hardware” wizard is gone!  This in itself is not that big a deal, but it does mean that some of the WDK sample installation instructions…


UMDF Debugging talks online

Our wondrous Abhishek did a series of Debugging UMDF driver talks and I’m happy to say we now have the first three live on line! In these he covers some of the basics; where to find and how to use WDFVerifier, how to use some of the UMDF Debugger extensions and some basic debugging UMDF…


Double filtered for added UMDF flavor.

UPDATED: 9-March-2010 Astute readers noted that I had the incorrect driver load order when talking about the UmdfServiceOrder directive. 🙂  It IS left to right reading and the LEFT most driver is the lowest driver.   In my previous post about Filter Drivers, I mentioned that this time I would focus on a more UMDF centric…


Genuine UMDF filtered drivers

Filter drivers have come up in conversations recently (both internal and external), so I wanted to take some time here to address some of the issues that were brought up with regards to UMDF filter drivers and how to make them.  Note: I’m not going to cover all the configuration dynamics available for UMDF filter…


Think globally, lock at the smallest scope possible.

Yes, I know that’s a rip off of a ThinkGeek shirt (which I own). Well, this is going to be my second post on this topic (okay, third), but as it managed to rear its head again recently, what better time to blog.  And I’m going to also blog it simply to prove to Doron…


When it leaks, it pours

Greetings from the Pacific Northwet.  After our recent Snow-pocalypse, we also suffered a run of flooding.  Amazingly enough, it wasn’t directly due to the 13+ inches of snow I had at my house, it was a combination of the snow and the monumental amounts of rain that followed.  Quite a few people were literally cutoff…


How to find the droids you might be looking for

Most of you at the DDC will notice that I’m not at the DDC.  I’m guessing that makes me one of the “juniors” that Bob was referring to. 😉 4.)  How do you build debugging techniques into your driver?  Ie, DbgBreakPoint, ASSERT, etc – which is best in various situations?  This is one of those…

3

It’s flick, then swish

So the next part of the little Q&A series on…well, QA; 3.) What security considerations do you take into account when designing and developing a kernel mode driver? Validate user mode pointers and check the buffers to and from user mode. 😉 That was a little inside joke for the person who asked the question. …