Hi,
I’d like to hide a device rom
the display manager since its
a multifunction PCI device,
theres a need to reveal only one.
I tried to do the following
IoStatus.Information |= PNP_DEVICE_DONT_DISPLAY_IN_UI
in the MJ PNP routine and pass that
IRP down but the device was still showing.
do have any suggestions ?
Thanks, Tom.
Assuming you are talking about doing this in your
IRP_MN_QUERY_PNP_DEVICE_STATE handler, from my experience you have to send
the IRP down the stack first and set PNP_DEVICE_DONT_DISPLAY_IN_UI on the
IRP’s way up.
–
Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/
“Tomer Goldberg” wrote in message news:xxxxx@ntdev…
>
>
> Hi,
>
> I’d like to hide a device rom
> the display manager since its
> a multifunction PCI device,
> theres a need to reveal only one.
>
> I tried to do the following
> IoStatus.Information |= PNP_DEVICE_DONT_DISPLAY_IN_UI
> in the MJ PNP routine and pass that
> IRP down but the device was still showing.
>
> do have any suggestions ?
>
> Thanks, Tom.
>
>
>