Comments for A Hole In My Headhttps://blogs.msdn.microsoft.com/doronh
Doron Holan's musings on drivers and other nibbles and bitsFri, 15 May 2015 13:57:07 +0000hourly1Comment on Beware the shiny light that is MmIsAddressValid by Vassili Gorshkovhttps://blogs.msdn.microsoft.com/doronh/2006/03/09/beware-the-shiny-light-that-is-mmisaddressvalid/#comment-9621
Fri, 15 May 2015 13:57:07 +0000https://blogs.msdn.microsoft.com/doronh/2006/03/09/beware-the-shiny-light-that-is-mmisaddressvalid/#comment-9621From what we see MmProbeAndLockPages() will BSOD if used with invalid address too. So this approach is not good either.
]]>Comment on Debugger commands (dps, dpp) that make my life easier (part 5) by lnwaycoolhttps://blogs.msdn.microsoft.com/doronh/2006/03/28/debugger-commands-dps-dpp-that-make-my-life-easier-part-5/#comment-9613
Wed, 28 May 2014 02:09:02 +0000https://blogs.msdn.microsoft.com/doronh/2006/03/28/debugger-commands-dps-dpp-that-make-my-life-easier-part-5/#comment-9613good article
]]>Comment on How do I know which device interface is being opened? by Jitendra Singhhttps://blogs.msdn.microsoft.com/doronh/2006/08/18/how-do-i-know-which-device-interface-is-being-opened/#comment-9603
Sun, 15 Sep 2013 21:10:50 +0000https://blogs.msdn.microsoft.com/doronh/2006/08/18/how-do-i-know-which-device-interface-is-being-opened/#comment-9603Yes i got your point thanks Doron Holan .
]]>Comment on How do I know which device interface is being opened? by Doron Holan [MSFT]https://blogs.msdn.microsoft.com/doronh/2006/08/18/how-do-i-know-which-device-interface-is-being-opened/#comment-9593
Thu, 12 Sep 2013 09:30:12 +0000https://blogs.msdn.microsoft.com/doronh/2006/08/18/how-do-i-know-which-device-interface-is-being-opened/#comment-9593To successfully get a WDFFILEOBJECT, you need to tell WDF you want them, so you need to call WdfDeviceInitSetFileObjectConfig in EvtDriverDeviceAdd. Also, note that the file name is only valid during EvtDeviceFileCreate. If you are interested in doing something based on the file name, check it in EvtDeviceFileCreate and store some kind of flag in your context off of the WDFFILEBOBJECT (the context you specify in the call to WdfDeviceInitSetFileObjectConfig) and check that flag in subsequent IO on that file object.
]]>Comment on How do I know which device interface is being opened? by Jitendra Singhhttps://blogs.msdn.microsoft.com/doronh/2006/08/18/how-do-i-know-which-device-interface-is-being-opened/#comment-9583
Thu, 12 Sep 2013 00:48:20 +0000https://blogs.msdn.microsoft.com/doronh/2006/08/18/how-do-i-know-which-device-interface-is-being-opened/#comment-9583Hi All,

So when i passing this to WdfFileObjectGetFileName(0) causing System Crash.

Please Help me .

]]>Comment on How do I know which device interface is being opened? by Jitendra Singhhttps://blogs.msdn.microsoft.com/doronh/2006/08/18/how-do-i-know-which-device-interface-is-being-opened/#comment-9573
Thu, 12 Sep 2013 00:43:28 +0000https://blogs.msdn.microsoft.com/doronh/2006/08/18/how-do-i-know-which-device-interface-is-being-opened/#comment-9573@ Jose E. Menezes

The API you are using "WdfRequestGetFileObject(Request));" is returning always 0 (Zero) .

Please let me know about it.

]]>Comment on How to correctly initialize a UNICODE_STRING by Chris Malcheskihttps://blogs.msdn.microsoft.com/doronh/2006/02/27/how-to-correctly-initialize-a-unicode_string/#comment-9563
Wed, 11 Sep 2013 15:19:05 +0000https://blogs.msdn.microsoft.com/doronh/2006/02/27/how-to-correctly-initialize-a-unicode_string/#comment-9563It's the "correct way" for you. Not for everybody. For me it's the stupid way because it's 482 times more verbose than it needs to be.
]]>Comment on The WDF 1.7 cointstallers are now available by Doron Holan [MSFT]https://blogs.msdn.microsoft.com/doronh/2008/04/17/the-wdf-1-7-cointstallers-are-now-available/#comment-9553
Thu, 18 Apr 2013 07:58:50 +0000https://blogs.msdn.microsoft.com/doronh/2008/04/17/the-wdf-1-7-cointstallers-are-now-available/#comment-9553You can get them in the win8 wdk under the redist folder
]]>Comment on The WDF 1.7 cointstallers are now available by bhttps://blogs.msdn.microsoft.com/doronh/2008/04/17/the-wdf-1-7-cointstallers-are-now-available/#comment-9543
Thu, 18 Apr 2013 07:36:04 +0000https://blogs.msdn.microsoft.com/doronh/2008/04/17/the-wdf-1-7-cointstallers-are-now-available/#comment-9543Is there any chance this version of WDF can be downloaded from anywhere (as it's been removed from msdn)?

We need to develop a driver for a custom device where the OS can't be updated.

Or at least some dlls for coinstallers would be good.

thanks!

]]>Comment on Threaded and non-threaded PIRPs by fernando-roberto@bol.com.brhttps://blogs.msdn.microsoft.com/doronh/2006/07/28/threaded-and-non-threaded-pirps/#comment-9533
Fri, 22 Mar 2013 07:19:20 +0000https://blogs.msdn.microsoft.com/doronh/2006/07/28/threaded-and-non-threaded-pirps/#comment-9533>> Adds the new PIRP to the list of I/O sent on the current thread and stores a pointer to the current thread in the PIRP