From: Duncan Hume [duncan@des.co.uk] Sent: Wednesday, March 15, 2000 3:50 AM To: NT Developers Interest List Subject: [ntdev] RE: Object paths This comes from the Win 2000 DDK that comes on the Win 2000 IFS Kit CD. NTSTATUS ObQueryNameString ( IN PVOID Object, OUT POBJECT_NAME_INFORMATION ObjectNameInfo, IN ULONG Length, OUT PULONG ReturnLength ); typedef struct _OBJECT_NAME_INFORMATION { UNICODE_STRING Name; } OBJECT_NAME_INFORMATION, *POBJECT_NAME_INFORMATION; It is defined in NTIFS.H. I am using it in my filter driver and it does exactly what you want. It is exported from NTOSKRNL.EXE in both Windows NT 4.0 and Windows 2000. It works fine in both, although I have not done much testing yet. Duncan > Hmm, I too am interested in this function, but cannot find it > documented in > my copy of the Windows 2000 DDK, nor online at Microsoft's site. > > Are you sure your naming is correct? I tried looking for > other variations, > but still couldn't find anything. Can you point me to > pricisely where you > saw this function documented? > > Alternately, can anybody provide with another technique for > retreiving a > DEVICE_OBJECT's name given a pointer to the DEVICE_OBJECT? > > > Regards, > > Matt Arnold > Professional Music Products > Mark of the Unicorn, Inc. > http://www.motu.com --- You are currently subscribed to ntdev as: GlennEverhart@FirstUSA.com To unsubscribe send a blank email to leave-ntdev-247T@lists.osr.com