Hi there
I am writing a Pnp bus driver . The Pnp manager is solicited (via Ioctl)
to send me IRP_MN_QUERY_ID (all types ) and
IRP_MN_QUERY_DEVICE_TEXT for a discovered device . I supply them as in t
he DDK example src/toaster/bus . The device text
serves as the description of the device name when the “Found New Hardware”
message box appears .
But while the MS toaster example shows the device name (as supplied by
IRP_MN_QUERY_DEVICE_TEXT Irp ) ,
in my case it does not show the name . Just says (at the Found new HW
message box) : “Searching for this device …” and later on : “unknown”
+installing …
Finally I get the dialog that asks to supply the .inf and .sys file
locations as should and the child device driver is loaded ok.
Can anybody point at what is wrong with my IRP_MN_QUERY_DEVICE_TEXT. Am I
missing something ?
thanks,
Zvi
You are wchar NULL terminating the buffer you hand back to the OS in
Irp->IoStatus.Information right?
Post the code, maybe it will be something obvious.
–
Bill McKenzie
“Zvi Dubitzky” wrote in message news:xxxxx@ntdev…
>
> Hi there
> I am writing a Pnp bus driver . The Pnp manager is solicited (via
Ioctl)
> to send me IRP_MN_QUERY_ID (all types ) and
> IRP_MN_QUERY_DEVICE_TEXT for a discovered device . I supply them as in t
> he DDK example src/toaster/bus . The device text
> serves as the description of the device name when the “Found New
Hardware”
> message box appears .
> But while the MS toaster example shows the device name (as supplied by
> IRP_MN_QUERY_DEVICE_TEXT Irp ) ,
> in my case it does not show the name . Just says (at the Found new HW
> message box) : “Searching for this device …” and later on : “unknown”
> +installing …
> Finally I get the dialog that asks to supply the .inf and .sys file
> locations as should and the child device driver is loaded ok.
>
> Can anybody point at what is wrong with my IRP_MN_QUERY_DEVICE_TEXT. Am
I
> missing something ?
>
> thanks,
>
> Zvi
>
>
>