Welcome to MSDN Blogs Sign in | Join | Help

June 2006 - Posts

One of the lesser used fields in WDF_OBJECT_ATTRIBUTES is ContextSizeOverride . In a typical KMDF driver, this field is never used because the ContextTypeInfo field of the structure specifies the size of the context to be associated with the object. The Read More...
This has been asked quite a few times on the newsgroups and NTDEV since KMDF has been released and is a very good question to ask. KMDF makes a lot of guarantees about IRQL and the presentation model everywhere in the framework, so one would expect EvtObjectCleanup Read More...
Peter wrote about it, but I thought I should mention it here as well. The UMDF v1.0 beta for XP is out, WHDC has instructions on how to download it. Read More...
This is commonly asked by new and experienced driver writers alike: "which locking primitive should I use in my driver?" Well, if the answer were simple, I think the question would not come up as much as it does ;). I can certainly give parts of the answer, Read More...
A PnP WDM driver gets notified about a system power transition when it receives a IRP_MN_SET_POWER/SystemPowerState PIRP. By the time you get this PIRP, the system power transition has already been committed and some devices may have already been powered Read More...
Last week was pretty evil ;(. A bug that should have taken half a day ended up taking an entire week to regression test (and add a new unit test). Anyways, that took up my entire week and left me no time to write. This week should be a little better, Read More...
Sometimes as a bus driver you need to access the PDO's Device Parameters key of its device node (to set a value for a class installer for instance) or register a device interface for a raw PDO. These are actually instances of a bigger problem, when is Read More...
A lot of folks are told to connect a kernel debugger (over a serial calbe) to their systems if it is constantly blue screening or if there are suspected issues in the kernel or a loaded driver. Most of these folks do not have the skills to debug the issue Read More...
I am not a big fan of the C/C++ preprocessor directives #ifdef or #ifndef . I am not denying that they certainly have their place and usage in the language. I'll first write about where I think they are useful and then about the situations where I feel Read More...
 
Page view tracker