Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: Can filter driver ignore an AddDevice?

Reply
Thread Tools Display Modes

Re: Can filter driver ignore an AddDevice?

 
 
Don Burn
Guest
Posts: n/a

 
      11-18-2009
Just return STATUS_SUCCESS but do not attach to the device stack. If you
return a failure code the whole device stack will be torn down.


--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply



"Ilya Konstantinov" <> wrote in message
news:a26c0832-07ce-4550-af9a-...
> Hello,
> I have a question.
>
> If my filter driver elects not to filter a certain PDO (e.g. it
> retrieves some PDO property through IoGetDeviceProperty and figures
> out the device should not be filtered), what should it do?
> 1) Return STATUS_UNSUCCESSFUL, or
> 2) Simply return STATUS_SUCCESSFUL before doing any IoCreateDevice
>
> And anyway, is it legit to call IoGetDeviceProperty on the
> PhysicalDeviceObject at this point?
>
> Thanks.
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4618 (20091118) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>




__________ Information from ESET NOD32 Antivirus, version of virus signature database 4618 (20091118) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot install Vista ACPI error Salsakidd Windows Vista Installation 6 10-10-2007 10:12 AM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM
problem in dxdiag Peewee64 Windows Vista Games 0 02-14-2007 09:49 PM
Vista auto-reboot after install OrangeGuy Windows Vista Installation 4 02-07-2007 02:05 AM
Re: No Matter What Installations Won't Boot On My Laptop Richard Urban Windows Vista Installation 1 01-06-2007 05:08 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59