How to get a Device Object's Device Name?

I’m trying to get the device name from a device object (NOT the driver
name) like the !devobj debugger extension does. How can I get this? I’ve
looked at the device object data structures and can’t find it.

Thanks,
Bob

try ObQueryNameString()

wrote in message news:xxxxx@ntdev…
>
> I’m trying to get the device name from a device object (NOT the driver
> name) like the !devobj debugger extension does. How can I get this? I’ve
> looked at the device object data structures and can’t find it.
>
> Thanks,
> Bob
>
>

Thanks for the info!

I did a search in the DDK documentation and found no reference to this
function. I also searched the header files and found no reference. I
assume you don’t need to include a header file?

Regards,
Bob

I think is in IFS only, I cant recall. Search those lists, it was discussed
several times and the prototype should be here. You do need a prototype ,
else the compiler cannot do any parameter validation.

Dan

----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Thursday, July 25, 2002 6:06 AM
Subject: [ntdev] Re: How to get a Device Object’s Device Name?

> Thanks for the info!
>
> I did a search in the DDK documentation and found no reference to this
> function. I also searched the header files and found no reference. I
> assume you don’t need to include a header file?
>
> Regards,
> Bob
>
> —
> You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>

ObQueryNameString

----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Tuesday, July 23, 2002 5:13 PM
Subject: [ntdev] How to get a Device Object’s Device Name?

> I’m trying to get the device name from a device object (NOT the
driver
> name) like the !devobj debugger extension does. How can I get this?
I’ve
> looked at the device object data structures and can’t find it.
>
> Thanks,
> Bob
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>