Hi,
I’m using ObQueryNameString() KPI. However, it always returns a constant 58
bytes, with the unicode buffer containing “/device/hardiskvolume1”.
Isn’t this KPI supposed to give me the entire pathname?
Can anyone help…
Thanks,
Samarth
On what object do you call it?
----- Original Message -----
From: “Samarth Sharma”
Newsgroups: ntdev
To: “NT Developers Interest List”
Sent: Monday, June 02, 2003 3:50 PM
Subject: [ntdev] obquerynamestring problem
> Hi,
> I’m using ObQueryNameString() KPI. However, it always returns a
constant 58
> bytes, with the unicode buffer containing “/device/hardiskvolume1”.
> Isn’t this KPI supposed to give me the entire pathname?
> Can anyone help…
> Thanks,
> Samarth
>
>
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com
No, you must call the file system to get a name that resides within the
file systems namespace.
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Samarth Sharma
Sent: Monday, June 02, 2003 4:50 AM
To: NT Developers Interest List
Subject: [ntdev] obquerynamestring problem
Hi,
I’m using ObQueryNameString() KPI. However, it always returns a
constant 58
bytes, with the unicode buffer containing “/device/hardiskvolume1”.
Isn’t this KPI supposed to give me the entire pathname?
Can anyone help…
Thanks,
Samarth
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
i call it on a FILE_OBJECT.
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
>
> On what object do you call it?
>
> ----- Original Message -----
> From: “Samarth Sharma”
> Newsgroups: ntdev
> To: “NT Developers Interest List”
> Sent: Monday, June 02, 2003 3:50 PM
> Subject: [ntdev] obquerynamestring problem
>
>
> > Hi,
> > I’m using ObQueryNameString() KPI. However, it always returns a
> constant 58
> > bytes, with the unicode buffer containing “/device/hardiskvolume1”.
> > Isn’t this KPI supposed to give me the entire pathname?
> > Can anyone help…
> > Thanks,
> > Samarth
> >
> >
> >
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>
>
>