multiport COM filter driver problem in vista



Hi

i have a filter driver to filter the resources down to the appropriate size/shape.and it can work in 2000 and xp but it has some problems in vista.

debug message in XP:
resDesc = 0, i = 0
desc->Type = 3
desc->ShareDisposition = 3 --->multiport.c
desc->Flags = 0 --->multiport.c
desc->u.Memory.Alignment = 1 --->multiport.c
desc->u.Memory.MinimumAddress.QuadPart = dfeff800 --->multiport.c

debug message in vista:
resDesc = 0, i = 0
desc->Type = 3
desc->ShareDisposition = 3 --->multiport.c
desc->Flags = 80 --->multiport.c
desc->u.Memory.Alignment = 1 --->multiport.c
desc->u.Memory.MinimumAddress.QuadPart = 0 --->multiport.c

the problem is :
in vista
desc->u.Memory.MaximumAddress.QuadPart doesn't get the right address. how should i slove the question?

the desc is a struct of PIO_RESOURCE_DESCRIPTOR
and
desc = &IoReqList->List[i].Descriptors[resDesc];

Thanks

zyy



.



Relevant Pages

  • install and uninstall of filter drivers
    ... Then I installed my filter driver using the device manager. ... point the device manager prompted me to reboot. ... No-go vista wouldn't let me. ...
    (microsoft.public.development.device.drivers)
  • Re: how can I disable ctrl+alt + del, and windows key in vista.
    ... the WDF kbfiltr example shows you how to install a keyboard filter driver ... I'm also interested in how to trap ctrl-alt-del on vista, ... when my program is running,disable ctrl+alt + del, and windows key. ...
    (microsoft.public.development.device.drivers)
  • USB HID Lower Filter Driver issue under VISTA
    ... I have a problem under MS VISTA with a USB HID filter driver ... The goal of my filter driver is to change the behaviour or inibit some extra ... change the HID codes output for the requested keys using a remapping table ...
    (microsoft.public.development.device.drivers)