Hi,
I call function IoCreateDevice() to create a DO(device object) and call
function
IoInvalidateDeviceRelations() to notify the Plug and Play system. In DDK
source
\src\general\toaster\bus, the bus-enum driver do like these to create a PDO.
And then
I receive the IRP, "IRP_MJ_PNP.IRP_MN_QUERY_DEVICE_RELATIONS.BusRelat ions",
after I handle the IRP, I receive the IRP "IRP_MJ_PNP.IRP_MN_START_DEVICE".
I want to create a PDO, if bus filter driver handles IRP_MJ_PNP calls
in particular
IRP_MN_QUERY_DEVICE_RELATIONS can create a new PDO?
Best Regards,
Peter,
"Don Burn" <> ¦b¶l¥ó
news:% ¤¤¼¶¼g...
> How did you tell the Plug and Play system that the PDO is there and part
of
> the disk stack. If this is not a PDO filtering an existing PDO you need
to
> to act like a bus filter and handle IRP_MJ_PNP calls in particular
> IRP_MN_QUERY_DEVICE_RELATIONS
>
>
> --
> 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:eTqy%23%...
> > 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 4568 (20091103) __________
> >
> > The message was checked by ESET NOD32 Antivirus.
> >
> > http://www.eset.com
> >
> >
> >
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
signature database 4568 (20091103) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>