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
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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
A Hole In My Head
How to share HW resources with another driver not in the same PnP hierarchy
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
First, I have to say that I don't agree with this design pattern at all . I think it leads to too many problems and complications that are not worth the pain. The only reason I am writing this entry is that I have seen so many people get this wrong or...
A Hole In My Head
WdfDeviceRetrieveDeviceInterfaceString and PDOs
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
When you initially create a PDO, it takes a few steps for PnP to recognize it. I wrote this problem of determining when a PDO becomes a PDO last year . At the end of the post I mentioned that KMDF handles all of this state management for you underneath...
A Hole In My Head
Setting a security descriptor on a legacy device object
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
Setting the security descriptor allows you to control who can open a handle to the device object. Typically you can call IoCreateDeviceSecure to create the device object and have the correct DACL from the start. One issue with IoCreateDeviceSecure is...
A Hole In My Head
Fast Resume and how if affects your driver
Posted
over 6 years ago
by
Doron Holan [MSFT]
2
Comments
Fast resume, which was introduced in Windows XP, is often mentioned when implementing power support in your WDM driver. But what does "fast resume" mean and when implementing fast resume, what side effects occur in your driver? I'll to answer both of...
A Hole In My Head
Vista IO manager changes in handling FILE_DEVICE_SECURE_OPEN
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
After having the IO manager developer review my last 2 posts, he pointed out to me that the IO manager handling of FILE_DEVICE_SECURE_OPEN (FDSO) has changed slightly in Vista. News to me and probably news to all of you as well. The change involves the...
A Hole In My Head
Making sure the IO manager evaluates the security of your device
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
Last time I wrote about how the IO manager handles the creation of file handles and pointed out a potential security hole. If there is a namespace (or path) after your device's name in the path passed to CreateFile, the IO managed does not evaluate the...
A Hole In My Head
Devices and namespaces (or how the IO manager handles file creation)
Posted
over 6 years ago
by
Doron Holan [MSFT]
4
Comments
Ever wonder how the creation of a handle works? It doesn't matter type of resource the handle you are opening is backed by (a COM port, a file, a network share, a custom piece of hardware, etc), it all goes through CreateFile (which should be a little...
A Hole In My Head
I am back
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
First off, man have I been lame. I fell off the blogging horse and it has taken me nearly 3 months to get back on. Posts should be more regular going forward. Typically I use the gaps during the work day to write an entry, but these past few months (going...
Page 1 of 1 (8 items)