PnP question

Privyet!

Hello,

Thank you for answer. The reason I am asking is
that for

IRP_MN_QUERY_DEVICE_RELATIONS

IRP_MN_QUERY_QUERY_RELATIONS

IRP_MN_QUERY_CHARACTERISTICS

I am just passing down to the underlying bus driver.
I.e. I don’t do anything with these IRPs in my
function driver. Now I am trying run HCT (WHQL) and I
am getting failure on “device path test”. The test log
doesn’t help at all. Some I am thinking maybe I am not
handling these IRPs correctly, i.e. I should not only
pass to bus driver, but also do something in my
driver.
In driver books it doesn’t say much about these IRPs.
I “deregistered” my DeviceIoControl dispatch function
to narrow done problem … that is why I suspect a PnP
IRP problem.

BTW, I find WHQL very frustrating because logs do not
help!

Regards, Vasili


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

As I understand it, the HCT logs are to report the pass/fail results of the
tests. As such, they are not dumps designed to help you debug your code.

I would strongly suggest you try running DriverVerifier, PreFast, DC2, and
other such DDK development tools to identify and troubleshoot where your
driver is failing and why. Also, please do so with a debugger attached to
the system under test so that you can break on the point of failure.

“Galchin Vasili” wrote in message news:xxxxx@ntdev…
>
> Privyet!
>
> Hello,
>
> Thank you for answer. The reason I am asking is
> that for
>
> IRP_MN_QUERY_DEVICE_RELATIONS
>
> IRP_MN_QUERY_QUERY_RELATIONS
>
> IRP_MN_QUERY_CHARACTERISTICS
>
> I am just passing down to the underlying bus driver.
> I.e. I don’t do anything with these IRPs in my
> function driver. Now I am trying run HCT (WHQL) and I
> am getting failure on “device path test”. The test log
> doesn’t help at all. Some I am thinking maybe I am not
> handling these IRPs correctly, i.e. I should not only
> pass to bus driver, but also do something in my
> driver.
> In driver books it doesn’t say much about these IRPs.
> I “deregistered” my DeviceIoControl dispatch function
> to narrow done problem … that is why I suspect a PnP
> IRP problem.
>
> BTW, I find WHQL very frustrating because logs do not
> help!
>
> Regards, Vasili
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
>
>