From: Omer on
Is there a way to get a reference to an unnamed device?
How can you get a pointer / call CreateFile() from user mode on such a
device?

Thanks.
From: Don Burn on
Most unamed devices have a device interface, these you should be able to
reference, but you do need to know the GUID for the class/device.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply



"Omer" <Omerb99(a)gmail.com> wrote in message
news:edcbb9b0-bc77-4a5b-bfb5-1ee57b5c9dc7(a)k10g2000prm.googlegroups.com...
> Is there a way to get a reference to an unnamed device?
> How can you get a pointer / call CreateFile() from user mode on such a
> device?
>
> Thanks.


From: Omer on
On Apr 28, 6:21 pm, "Don Burn" <b...(a)stopspam.windrvr.com> wrote:
> Most unamed devices have adeviceinterface, these you should be able to
> reference, but you do need to know the GUID for the class/device.
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Website:http://www.windrvr.com
> Blog:http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
> "Omer" <Omer...(a)gmail.com> wrote in message
>
> news:edcbb9b0-bc77-4a5b-bfb5-1ee57b5c9dc7(a)k10g2000prm.googlegroups.com...
>
>
>
> > Is there a way to get a reference to anunnameddevice?
> > How can you get a pointer / call CreateFile() from user mode on such a
> >device?
>
> > Thanks.- Hide quoted text -
>
> - Show quoted text -

SPTD.sys for example creates several unnamed devices.
I used the DEVINTERFACE sample from oney's book to enum all interfaces
but i didn't find any device that seems to match SPTD in some way.
Am i doing something wrong ?

Thanks.
From: Omer on
On Apr 29, 10:24 am, Omer <Omer...(a)gmail.com> wrote:
> On Apr 28, 6:21 pm, "Don Burn" <b...(a)stopspam.windrvr.com> wrote:
>
>
>
>
>
> > Most unamed devices have adeviceinterface, these you should be able to
> > reference, but you do need to know the GUID for the class/device.
>
> > --
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Website:http://www.windrvr.com
> > Blog:http://msmvps.com/blogs/WinDrvr
> > Remove StopSpam to reply
>
> > "Omer" <Omer...(a)gmail.com> wrote in message
>
> >news:edcbb9b0-bc77-4a5b-bfb5-1ee57b5c9dc7(a)k10g2000prm.googlegroups.com...
>
> > > Is there a way to get a reference to anunnameddevice?
> > > How can you get a pointer / call CreateFile() from user mode on such a
> > >device?
>
> > > Thanks.- Hide quoted text -
>
> > - Show quoted text -
>
> SPTD.sys for example creates several unnamed devices.
> I used the DEVINTERFACE sample from oney's book to enum all interfaces
> but i didn't find any device that seems to match SPTD in some way.
> Am i doing something wrong ?
>
> Thanks.- Hide quoted text -
>
> - Show quoted text -

I was unable to find any.

SPTD.sys for example creates several unnamed devices.
I used the DEVINTERFACE sample from oney's book to enum all
interfaces
but i didn't find any device that seems to match SPTD in some way.
Am i doing something wrong ?