Hi! friends,
I m writting an higher level layered USB printer driver. For that I have to
get the device pointer of currently higher level driver. For that I m using
IoGetDeviceObjectPointer(…) DDK call. In this function we have to pass the
NT device name of the next lower level driver as a parameter. Now my
problem is that how can I get the lower driver’s NT device name to pass to
that call. I want my driver should work for any kind of USB printer driver.
Actually my idea is that if anyway I can get the NT device name of the
USBPRINT.SYS(provided by MicroSoft for USB printing) then my problem will
be solved. So friends If anyone has come accross the same problem or have
some idea Pl. help me out. I have the symbolic link of the device only I
want the NT device name to work with the IoGetDeviceObjectPointer(…) DDK
call.
Thank you very much…
Debabrata Debnath
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Use the device interface mechanism for this. This seems to be a solution.
Max
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Monday, September 24, 2001 5:41 AM
Subject: [ntdev] Regarding NT device name…
> Hi! friends,
> I m writting an higher level layered USB printer driver. For that I have
to
> get the device pointer of currently higher level driver. For that I m
using
> IoGetDeviceObjectPointer(…) DDK call. In this function we have to pass
the
> NT device name of the next lower level driver as a parameter. Now my
> problem is that how can I get the lower driver’s NT device name to pass to
> that call. I want my driver should work for any kind of USB printer
driver.
> Actually my idea is that if anyway I can get the NT device name of the
> USBPRINT.SYS(provided by MicroSoft for USB printing) then my problem will
> be solved. So friends If anyone has come accross the same problem or have
> some idea Pl. help me out. I have the symbolic link of the device only I
> want the NT device name to work with the IoGetDeviceObjectPointer(…) DDK
> call.
>
> Thank you very much…
> Debabrata Debnath
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com