Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    Dec 2002
    Location
    UK
    Posts
    177
    Thanks
    0
    Thanked 2 Times in 2 Posts

    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
    Last edited by Afrow UK; 07-05-2007 at 11:31 AM.
    if ($ENV{'QUERY_STRING'} eq "Afrow UK") {
    print "$ENV{'QUERY_STRING'} rocks!";
    } else {
    print qq~$ENV{'QUERY_STRING'} sucks :)~;
    }


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •