Browse by Tags

Tagged Content List
  • Blog Post: Using C++ in an NDIS driver

    Are NDIS drivers allowed to use C++? The first question is easy: can NDIS drivers be written in C++?  The answer: yes.  In this case, NDIS doesn’t have any official stance on C++, so we just fall back on the WDK’s general rules.  As of Windows Driver Kit 8, Microsoft officially supports...
  • Blog Post: Using WDF in an NDIS driver

    Can, Should, and How? WDF is a framework that makes it easier to write Windows drivers.  NDIS is a framework for writing low-level Windows network drivers.  The purposes of these frameworks overlap a bit, and some people (okay, probably many people) are confused about the relationship between...
  • Blog Post: NdisFRegisterFilterDriver fails… now what?

    Decoding the error codes “I compiled my NDIS filter driver, but NdisFRegisterFilterDriver fails in my DriverEntry function.  Now what?” Here’s a table listing common problems and fixes.  Rows are grouped by symptom. Problem Resolution NDIS_STATUS_BAD_CHARACTERISTICS (0xc0010005) The Characteristics...
  • Blog Post: Making minidumps more useful

    Miniport: meet minidump Minidumps are a small (~100kb) record of a crash.  As their name suggests, they’re optimized for small size… at the expense of usefulness.  Minidumps include just enough information to see the stack of the faulting thread, but they don’t generally have other threads...
  • Blog Post: Removing a non-removable device

    A surprise indeed From time to time, miniport authors ask us whether they really have to support surprise removal.  After all, they explain, their device is embedded in the system — it’s not physically possible to remove it without a soldering iron and/or crowbar. Here's our answer: yes, you should...
  • Blog Post: Simplifying your OID request handler

    One request at a time, please While we have lots of documentation on MSDN, occasionally the high-level concepts get drowned out by all the details. Today I want to draw attention to an important point regarding OID requests. Recall that protocols use OID requests to Query information from or to...
Page 1 of 1 (6 items)