Filter driver trouble
Hi
I have a complicated upper filter driver that is installed in the
graphics driver stack and snoops the device resources by intercepting
the IRP_MN_START_DEVICE call and reading the resource list from the
stack location. This has worked fine for the cards we've been using
until now, but with some other cards (from other manufacturers) I've
discovered that it doesn't work on every machine, and the;
IoStackLocation->Parameters.StartDevice.AllocatedResources
pointer is NULL.
Does anyone know why this happens? I wouldn't be surprised to find
out that my approach has been wrong all along...
As an alternative I've tried to get the resources using
IoGetDeviceProperty(..,DevicePropertyBootConfigura tion,...)
in calls from user mode but this function simply crashes every time.
P.S we use Win2K.
Thanks
|