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)
December, 2006
MSDN Blogs
>
A Hole In My Head
>
December, 2006
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
A Hole In My Head
Where are the WDF files in the WDK?
Posted
over 6 years ago
by
Doron Holan [MSFT]
0
Comments
The WDF (both UMDF and KMDF) files in the WDK are not found in a single directory, rather they are spread out across the entire WDK directory tree. Why? Because the WDK is not just WDF J and the WDK has directories for different purposes, so replicating...
A Hole In My Head
Should I use the chk or fre KMDF coinstaller?
Posted
over 6 years ago
by
Doron Holan [MSFT]
3
Comments
This has been asked quite a few times and is a major point of confusion for KMDF developers. The KMDF coinstaller comes in 2 flavors, chk and fre. Both flavors reside in the same directory in the WDK (winddk\6000\redist\wdf\<arch>) and have their...
A Hole In My Head
How to return the number of bytes required for a subsequent operation
Posted
over 6 years ago
by
Doron Holan [MSFT]
7
Comments
A very common pattern is to allow a caller to ask for the number bytes (or elements) required and then ask for the data, many user mode Win32 APIs (like RegQueryValueEx ) and kernel mode (like IoGetDeviceProperty ) implement it. You first ask for the...
A Hole In My Head
Creating your own InterlockedXxx operation
Posted
over 6 years ago
by
Doron Holan [MSFT]
7
Comments
Sometimes your design requires an Interlocked operation that is not currently supported by the OS, runtime libraries, or the compiler (as an intrinsic). You then have a choice to make. Either remove all Interlocked operations for that particular field...
A Hole In My Head
Why you want to use POBJECT_TYPEs when converting handles to objects
Posted
over 6 years ago
by
Doron Holan [MSFT]
0
Comments
This post concludes my trilogy (see parts 1 and 2 ) on PBOJECT_TYPE (although I do reserve the right to pull a George Lucas and add more episodes later :) ). Today we shall cover why passing the PBOJECT_TYPE to ObReferenceObjectByHandle , ObReferenceObjectByPointer...
A Hole In My Head
What is POBJECT_TYPE?
Posted
over 6 years ago
by
Doron Holan [MSFT]
1
Comments
In a previous post I wrote about the newly documented POBJECT_TYPE variables for Vista. You can pass these exports to ObReferenceObjectByHandle , ObReferenceObjectByPointer , or ObOpenObjectByPointer . Talking about the new exports without talking about...
Page 1 of 1 (6 items)