Sign In
A Hole In My Head
Doron Holan's musings on drivers and other nibbles and bits
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Coding Thoughts
Design Patterns
KMDF
WDF
WDK Docs
WDM
WinDBG/KD Fun
Archive
Archives
December 2010
(1)
August 2010
(1)
May 2010
(3)
February 2010
(2)
March 2009
(2)
February 2009
(1)
January 2009
(2)
June 2008
(1)
April 2008
(4)
March 2008
(6)
December 2007
(1)
November 2007
(2)
October 2007
(8)
July 2007
(2)
June 2007
(4)
May 2007
(3)
April 2007
(5)
March 2007
(6)
February 2007
(6)
January 2007
(7)
December 2006
(6)
November 2006
(11)
October 2006
(9)
September 2006
(8)
August 2006
(17)
July 2006
(15)
June 2006
(9)
May 2006
(16)
March 2006
(20)
February 2006
(17)
June, 2006
MSDN Blogs
>
A Hole In My Head
>
June, 2006
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
A Hole In My Head
What is ContextSizeOverride and how do I use it?
Posted
over 6 years ago
by
Doron Holan [MSFT]
0
Comments
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...
A Hole In My Head
At what IRQL does EvtObjectCleanup get called at?
Posted
over 6 years ago
by
Doron Holan [MSFT]
0
Comments
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...
A Hole In My Head
UMDF 1.0 Beta is now out
Posted
over 6 years ago
by
Doron Holan [MSFT]
0
Comments
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.
A Hole In My Head
Which lock should I use and why?
Posted
over 6 years ago
by
Doron Holan [MSFT]
3
Comments
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...
A Hole In My Head
How can I be notified about system state transition before they happen?
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
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...
A Hole In My Head
Sorry about the lack of posts
Posted
over 6 years ago
by
Doron Holan [MSFT]
0
Comments
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,...
A Hole In My Head
When is a reported PDO recognized as PDO by PnP?
Posted
over 6 years ago
by
Doron Holan [MSFT]
2
Comments
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...
A Hole In My Head
Why does my COM port disappear when I enable the kernel debugger?
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
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...
A Hole In My Head
Not a big fan of #ifdef or #ifndef
Posted
over 6 years ago
by
Doron Holan [MSFT]
12
Comments
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...
Page 1 of 1 (9 items)