Drivers will only see the PDO if you issue an IoInvalidateDeviceRelations
and then handle the IRP_MJ_PNP calls to notify the system of the device. Go
read the toaster sample in detail.
--
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
"Peter" <> wrote in message
news:...
> Hi,
> I create a PDO in my disk low filter driver, what is the meaning of
> this PDO in
> device stack? Is any driver will see it and create a FDO for it? And any
> device will
> be shown in system Device Manager?
>
> Best Regards,
> Peter,
>
> "Don Burn" <> ¦b¶l¥ó
> news:% ¤¤¼¶¼g...
>> Look at http://msdn.microsoft.com/en-us/library/ms806534.aspx
>>
>>
>> --
>> 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
>>
>>
>>
>> "Peter" <> wrote in message
>> news:%...
>> > Hi,
>> > It seems that the PNP knows what driver creates the PDO.
>> > The PNP seems initiate a PDO in the different way by different drivers
>> > :
>> > In my disk low filter driver, it receives only:
>> > IRP_MJ_PNP[IRP_MN_START_DEVICE]
>> > In the bus enum driver which is compiled from DDK sources
>> > "\src\general\toaster\bus", it receives:
>> > IRP_MJ_PNP[IRP_MN_QUERY_ID]
>> > IRP_MJ_PNP[IRP_MN_QUERY_CAPABILITIES]
>> > IRP_MJ_PNP[IRP_MN_QUERY_DEVICE_TEXT]
>> > IRP_MJ_PNP[IRP_MN_QUERY_RESOURCE_REQUIREMENTS]
>> > IRP_MJ_PNP[IRP_MN_QUERY_BUS_INFORMATION]
>> > ...
>> >
>> > What the PNP will do after it knows a new PDO is created?
>> > Any other info. about device stack and driver stack?
>> >
>> > Best Regards,
>> > Peter,
>> >
>> > "Peter" <> ¦b¶l¥ó
>> > news:eTqy%23% ¤¤¼¶¼g...
>> >> Hi,
>> >>
>> >> I refer the following sources in the DDK to develop a disk low
> filter
>> >> driver:
>> >> \src\general\toaster\bus
>> >> \src\storage\class\disk
>> >>
>> >> I would like to create a PDO in my disk low filter driver, and
>> >> hope
>> > the
>> >> disk
>> >> driver can see the PDO, but the result is the PDO does not appear in
> disk
>> >> driver.
>> >>
>> >> The following are the main procedure in my disk low filter driver:
>> >>
>> >> call IoCreateDevice(), IoInvalidateDeviceRelations(),
>> >> then
>> >> receive
> IRP_MJ_PNP.IRP_MN_QUERY_DEVICE_RELATIONS.BusRelati ons,
>> >> IRP_MJ_PNP.IRP_MN_START_DEVICE
>> >>
>> >> Any comment for my problem, thanks.
>> >>
>> >> Best Regards,
>> >> Peter,
>> >>
>> >>
>> >
>> >
>> >
>> > __________ Information from ESET NOD32 Antivirus, version of virus
>> > signature database 4603 (20091113) __________
>> >
>> > The message was checked by ESET NOD32 Antivirus.
>> >
>> > http://www.eset.com
>> >
>> >
>> >
>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4603 (20091113) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4611 (20091116) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4611 (20091116) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com