Message 6 of 6
24 Apr 17 10:58
Join Date: 08 Sep 2005
Posts To This List: 10107
Register software driver(FILE_DEVICE_UNKNOWN) with PNP
There is a downside: notifications may not be delivered if there are memory
allocation failures at the time of reporting the notifications. With the
inverted call model, all resources are allocated up front.
Bent from my phone
From: email@example.com on behalf of rohan kumbhar
Sent: Sunday, April 23, 2017 9:12:44 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Register software driver(FILE_DEVICE_UNKNOWN) with PNP
>> What led you to this?
I have implemented inverted call model for the purpose of constructing an event
On reading Microsoft published "km-umguide.doc" I identified PnP notifications
One difference from inverted call model which attracted my attention was, there
any need to keep an inventory on clients those would register with my event
Instead respective event guids is needed to be published. Hence, I wanted to try
and check if it really applies to my case.
On Thu, Apr 20, 2017 at 9:07 PM, Tim Roberts
> How can I register a software driver with device type FILE_DEVICE_UNKNOWN
> with PNP and then send notifications to usermode application?
Is your driver already PnP compliant? If you call IoCreateDevice (or
WdfDeviceCreate) during your DriverEntry, then you are not PnP, and you
can't use the notification scheme. If you call
IoCreateDevice/WdfDeviceCreate during an AddDevice call, then you are
PnP, and this is fully available to you.
> Note: I have already implemented Inverted Call Model.
> I want to explore this communication mode using software driver.
What led you to this? I suspect you will find that the
RegisterDeviceNotification path is not any simpler than the
well-understood inverted call model.
Tim Roberts, firstname.lastname@example.org
Providenza & Boekelheide, Inc.
NTDEV is sponsored by OSR
Visit the list online at:
MONTHLY seminars on crash dump analysis, WDF, Windows internals and software
To unsubscribe, visit the List Server section of OSR Online at
--- NTDEV is sponsored by OSR Visit the list online at: MONTHLY seminars on
crash dump analysis, WDF, Windows internals and software drivers! Details at To
unsubscribe, visit the List Server section of OSR Online at