Hi all,
Is there a way to get DeviceName from PDEVICE_OBJECT?
Thanks in advance,
Fernando.
Hi all,
Is there a way to get DeviceName from PDEVICE_OBJECT?
Thanks in advance,
Fernando.
Yes, it is called an API and it is documented in the DDK.
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Fernando Roberto da
Silva
Sent: Thursday, July 31, 2003 5:17 AM
To: Windows System Software Developers Interest List
Subject: [ntdev] DeviceName from DeviceObject
Hi all,
Is there a way to get DeviceName from PDEVICE_OBJECT?
Thanks in advance,
Fernando.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
ObQueryNameString will do the job.
----- Original Message -----
From: Fernando Roberto da Silva
To: Windows System Software Developers Interest List
Sent: Thursday, July 31, 2003 4:17 PM
Subject: [ntdev] DeviceName from DeviceObject
Hi all,
Is there a way to get DeviceName from PDEVICE_OBJECT?
Thanks in advance,
Fernando.
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Weren't we talking about documented calls?
I found that IoGetDeviceProperty can return the device name of the PDO, but
that's not exactly what we're talking about.
Sorry if I didn't find it yet but, James, what API were you thinking about
that seemed so obvious?
Mat
-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Thursday, July 31, 2003 1:32 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] Re: DeviceName from DeviceObject
ObQueryNameString will do the job.
?
----- Original Message -----
From: Fernando Roberto da Silva
To: Windows System Software Developers Interest List
Sent: Thursday, July 31, 2003 4:17 PM
Subject: [ntdev] DeviceName from DeviceObject
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@guillemot.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
ObQueryNameString is documented in the IFSKIT.
Mathieu Routhier wrote:
Weren’t we talking about documented calls?
I found that IoGetDeviceProperty can return the device name of the PDO, but
that’s not exactly what we’re talking about.Sorry if I didn’t find it yet but, James, what API were you thinking about
that seemed so obvious?Mat
-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Thursday, July 31, 2003 1:32 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] Re: DeviceName from DeviceObjectObQueryNameString will do the job.
----- Original Message -----
From: Fernando Roberto da Silva
To: Windows System Software Developers Interest List
Sent: Thursday, July 31, 2003 4:17 PM
Subject: [ntdev] DeviceName from DeviceObjectHi all,
Is there a way to get DeviceName from PDEVICE_OBJECT?
Thanks in advance,
Fernando.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.comQuestions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256You are currently subscribed to ntdev as: xxxxx@guillemot.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
–
ObQueryNameString is documented in IFS Kit.
The device objects in PnP stacks usually have no names, except some
autogenerated long string. Usually, device interfaces are used for them.
Max
----- Original Message -----
From: “Mathieu Routhier”
To: “Windows System Software Developers Interest List”
Sent: Thursday, July 31, 2003 9:48 PM
Subject: [ntdev] Re: DeviceName from DeviceObject
> Weren’t we talking about documented calls?
>
> I found that IoGetDeviceProperty can return the device name of the PDO, but
> that’s not exactly what we’re talking about.
>
> Sorry if I didn’t find it yet but, James, what API were you thinking about
> that seemed so obvious?
>
> Mat
>
> -----Original Message-----
> From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
> Sent: Thursday, July 31, 2003 1:32 PM
> To: Windows System Software Developers Interest List
> Subject: [ntdev] Re: DeviceName from DeviceObject
>
> ObQueryNameString will do the job.
>
> ----- Original Message -----
> From: Fernando Roberto da Silva
> To: Windows System Software Developers Interest List
> Sent: Thursday, July 31, 2003 4:17 PM
> Subject: [ntdev] DeviceName from DeviceObject
>
> Hi all,
>
> Is there a way to get DeviceName from PDEVICE_OBJECT?
>
> Thanks in advance,
> Fernando.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@guillemot.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>