My travels with WDF

The continuing story of a boy, his dog and their discovery of the world outside...of WDM.

  • My travels with WDF

    I never promised you a rose garden, but I did promise Act 2 of a Musical

    • 0 Comments
    And I'm sad to say that I won't have it ready this weekend. I'll work on it next week I promise. In the mean time, how about we write a kernel in a Managed Language eh? So cool to see they have some proof of concepts going. *Currently playing...
  • My travels with WDF

    A funny thing happened on the way to the keyboard

    • 4 Comments
    So as I was crafting some UMDF HID driver code for your consumption, and I was working with one of you (and you know who you are *g*) during some of that time frame, we sort of discovered everything already exists between my earlier blog posts and some...
  • My travels with WDF

    Genuine UMDF filtered drivers

    • 0 Comments
    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...
  • My travels with WDF

    The WDF book is back in print…

    • 0 Comments
      http://www.amazon.com/Developing-Drivers-Windows-Foundation-Developer/dp/0735623740/ref=sr_1_1?ie=UTF8&s=books&qid=1294270728&sr=8-1 http://oreilly.com/catalog/9780735623743/   We now return you to your normally scheduled programming...
  • My travels with WDF

    Intellisense-ational!

    • 0 Comments
    After reading Ilias' post about Intellisense lacking for driver projects, I first thought about running upstairs and throwing a few more quarters at him. Then I thought about making a snarky response in his blog post. But in the end, I just decided to...
  • My travels with WDF

    How to find the droids you might be looking for

    • 3 Comments
    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...
  • My travels with WDF

    Because inquiring minds want to know

    • 1 Comments
    A follow up question was posed from my last post about the WDF book no longer being in print and I thought it would be better to do a post so it will show up in RSS feeds; Q : Any idea what triggered this? I realize that our technology area doesn't sell...
  • My travels with WDF

    Double filtered for added UMDF flavor.

    • 0 Comments
    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...
  • My travels with WDF

    Intellisense, the Musical part 3

    • 0 Comments
    Like all good stories, sometimes the 2nd act is the hardest to follow. In this case it was simply a matter of other things coming up rather than writers block. :) What kicked me in the rump to get this next part up was a few more questions about driver...
  • My travels with WDF

    How to avoid getting a HID to the head (a guide to making a UMDF - HID collection filter)

    • 0 Comments
    First of all, HUGE thanks to Ilia S. for helping to track down this little trap. I’m glad we finally got your driver up and running! Nothing like having an 8 hour time difference to slow things down. :) For those of you who like the 30 second version;...
  • My travels with WDF

    I/O Queues and You

    • 0 Comments
    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...
  • My travels with WDF

    And here you thought I had a cloaking device

    • 0 Comments
    Got a good one to share with the group; Q: Can I make a kernel mode driver that opens a handle and talks to a UMDF based driver in another device stack? A: Why yes you can! Quite simply done provide you follow all the rules . This is a variant of...
  • My travels with WDF

    Cross stack communications

    • 0 Comments
    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...
  • My travels with WDF

    How active are you?

    • 2 Comments
    Was pondering a few questions the last few days. How many of you UMDF writers use ATL in your drivers? If you do, do you have more of a kernel driver background or a user mode background? Since UMDF works on an object model very similar to COM, the ATL...
  • My travels with WDF

    A brief forwarding of time

    • 0 Comments
    So I thought I'd give you all an end to end sample of how to forward requests to a lower driver w/ UMDF, or at least how I have it set up for the 1394 virtual device driver sample. Your usage may vary and so may your mileage. First off, UMDF uses file...
  • My travels with WDF

    I would have waited forever, and ever, and ever, and ever...

    • 0 Comments
    I'm on a pet peeve kick lately and another one of my big ones is WaitFor<Single | Multiple>Object with an INFINITE time out period. You do realize it's INFINITE right? And while you can mitigate the risk of actually spinning forever on an object...
  • My travels with WDF

    of queues, cues and q-s

    • 0 Comments
    Apparently Bungie released a game this week. This caused something of a massive line to form around the company store on Tuesday. And in a first for the physical company store, they opened the store at 7am to help handle the load. That means they shot...
  • My travels with WDF

    UMDF Debugging talks online

    • 0 Comments
    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...
  • My travels with WDF

    Synchratic Method (yes, I know it's not a word).

    • 0 Comments
    As promised here is an update. I'm still trying to nail down a sample hybrid driver for you all to play with. We've narrowed the contestants to two, and after the talent and judges interview portions of the show we should have a winner. So rather than...
  • My travels with WDF

    0 and 1 are not just numbers, they’re spaces!

    • 0 Comments
    Again, thanks to our intrepid explorer Ilia S. for helping uncover some more traps in the UMDF HID Collection Filter journey. Two things to keep in mind as you’re creating your driver: 1. UMDF drivers are hosted in a Session 0 based executable on Vista...
  • My travels with WDF

    Well, you can kind of see why we’ve been quiet around here…

    • 3 Comments
    If you’re watching what’s going on at //BUILD (and why wouldn’t you be?), you may have seen that UMDF now supports hardware access (via ports and registers) and interrupt handling! If you haven’t seen it, you can go read more here...
  • My travels with WDF

    Heads up!

    • 1 Comments
      Sharing a cross post that is of interest to you WDF users; http://blogs.msdn.com/b/doronh/archive/2010/08/25/developing-drivers-with-the-windows-174-driver-foundation-i-e-the-wdf-book-is-apparently-out-of-print.aspx?wa=wsignin1.0
  • My travels with WDF

    Think globally, lock at the smallest scope possible.

    • 0 Comments
    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...
  • My travels with WDF

    It’s okay to assert yourself, just be careful how forcefully you do it. (Op. Ed.)

    • 0 Comments
    We recently had a good discussion internally about the nature of ASSERTs in code. I, being the rebel that I am, took the time honored stance of, “if you’ve hit it, you’ve triaged it and changed to code to handle that condition gracefully (at least as...
  • My travels with WDF

    We’re gonna need a bigger stick!

    • 0 Comments
    So, some of you may recognize Eliyas’ name from WinHECs and various other driver dev presentations, but guess what he’s done now?!  He’s become a blogger. Go on feel free to hound him about your USB driver problems. :)
Page 1 of 3 (68 items) 123