|
-
September 26th, 2009, 04:23 AM
#1
[RESOLVED] Retrieve filename from HANDLE
I got the HANDLE to a file, and I need to find the filename associated.
- GetFileInformationByHandle returns other information about file, but not filename.
- I don't want to use NtQueryInformationFile
- Cannot use CFile(HANDLE), CFile::GetFileName, since it needs open file-handle. I just have file-handle (no open file).
- This is not appealing me:
http://msdn.microsoft.com/en-us/libr...89(VS.85).aspx For now, I cannot disclose "how" I am getting this HANDLE. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|