is it possible to open a handle to an arbitrary device
displayed/installed on the system. I know how to use
CreateFile and DeviceIoControl to access installed
hardware, but the point is: Is it possible to open a
device by only knowing its Physical Object Name,
without knowing what kind of device it really is?
Is there any way to do this from user mode with
something like CreateFile or some undocumented
NT API?
I have PDO Names like:
\Device\Ide\IdeDeviceP1T0L0-e
\Device\Scsi\ah4schpa1Port2Path0Target0Lun0
\Device\0000006b
Any way to get some handle in user mode,...
Thanks in advance...
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.codeplex.com/restarts
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
> is it possible to open a handle to an arbitrary device
> displayed/installed on the system. I know how to use
> CreateFile and DeviceIoControl to access installed
> hardware, but the point is: Is it possible to open a
> device by only knowing its Physical Object Name,
> without knowing what kind of device it really is?
> Is there any way to do this from user mode with
> something like CreateFile or some undocumented
> NT API?
>
> I have PDO Names like:
>
> \Device\Ide\IdeDeviceP1T0L0-e
> \Device\Scsi\ah4schpa1Port2Path0Target0Lun0
> \Device\0000006b
>
> Any way to get some handle in user mode,...
e.g. with NtOpenFile()
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.codeplex.com/restarts
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
"Christian ASTOR" <cast...@club-internet.fr> schrieb im Newsbeitrag
news:48e852a6$0$7932$7a62...@news.club-internet.fr...