Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-05-2007, 11:26 AM   PM User | #1
Afrow UK
Regular Coder

 
Join Date: Dec 2002
Location: UK
Posts: 177
Thanks: 0
Thanked 2 Times in 2 Posts
Afrow UK is an unknown quantity at this point
NtQueryInformationFile

I'm using NtQueryInformationFile with FileNameInformation to get the name of a file from a remote open file handle.

This also does not work:
UCHAR b[512];
NtQueryInformationFile(handle, NULL, &b, 512, FileNameInformation);

The handle is correct.

Any ideas?

Stu
__________________
if ($ENV{'QUERY_STRING'} eq "Afrow UK") {
print "$ENV{'QUERY_STRING'} rocks!";
} else {
print qq~$ENV{'QUERY_STRING'} sucks :)~;
}

Last edited by Afrow UK; 07-05-2007 at 11:31 AM..
Afrow UK is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:06 PM.


Advertisement
Log in to turn off these ads.