Hi all,
I am porting my winnt driver to Win 2k
I have done following changes
In DriverEntry,
- Registered AddDevice Routine
- Rgistered Routine for IRP_MJ_PNP
& other IRP_MJs are already initialised.
My AddDevice Routine is called & I create DeviceObject & SymbolicLink
successfully. I’ve stored the PDeviceObject input to my routine.
Now when my IRP_MN_START_DEVICE is called the resource list I get is NULL
what can be the reason??
Also I noticed one thing … before calling IRP_MN_START_DEVICE, my PnP
dispatch routine is called for IRP_MN_QUERY_LEGACY_BUS_INFORMATION which I
found is reserved for system use…
Can anyone please help me out…
Thanx,
SP.
Check what your driver returns for IRP_MN_FILTER_RESOURCE_REQUIREMENTS.
You should not return NULL in the IoStatus.Information.
Guru
-----Original Message-----
From: Shailesh [mailto:xxxxx@hotmail.com]
Sent: Friday, July 19, 2002 3:04 PM
To: NT Developers Interest List
Subject: [ntdev] IRP_MN_START_DEVICE null resource list
Hi all,
I am porting my winnt driver to Win 2k
I have done following changes
In DriverEntry,
- Registered AddDevice Routine
- Rgistered Routine for IRP_MJ_PNP
& other IRP_MJs are already initialised.
My AddDevice Routine is called & I create DeviceObject & SymbolicLink
successfully. I’ve stored the PDeviceObject input to my routine.
Now when my IRP_MN_START_DEVICE is called the resource list I get is
NULL
what can be the reason??
Also I noticed one thing … before calling IRP_MN_START_DEVICE, my PnP
dispatch routine is called for IRP_MN_QUERY_LEGACY_BUS_INFORMATION which
I
found is reserved for system use…
Can anyone please help me out…
Thanx,
SP.
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
hi ,
Thanx… thanx a lot for that prompt reply but I feel that my driver is not
called for this IRP… before that itself my IRP_MN_START is called
or is there something else to it??
Thanx,
SP.
hi,
& now 'am supporting your said IRP also… but as i siad it’s not called…
I get IRP_MN_QUERY_LEGACY_BUS_INFORMATION… which is reserved for system
use & next I get IRP_MN_START… but the prob is with null resources
what can be the reason ??
thanx,
SP.