Does anyone know of any sample code for reading the reparse point index? I believe it involves opening $Extend$Reparse:$R:$INDEX_ALLOCATION, which I am able to do, and reading from that handle. When I try to read I get ERROR_INVALID_FUNCTION (using WIN32 CreateFile and ReadFile). I am also not sure of the format of the index entries. Any information would be helpful.
No, you can’t read from this file, use NtQueryDirectoryFile with
FileReparsePointInformation information class to enumerate all reparse
points.
Alexei.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of
xxxxx@yahoo.com
Sent: Thursday, February 22, 2007 10:42 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Reparse point index
Does anyone know of any sample code for reading the reparse point index? I
believe it involves opening $Extend$Reparse:$R:$INDEX_ALLOCATION, which I am
able to do, and reading from that handle. When I try to read I get
ERROR_INVALID_FUNCTION (using WIN32 CreateFile and ReadFile). I am also not
sure of the format of the index entries. Any information would be helpful.
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@vmware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
I afraid that my answer is not clear enough, I would like to clarify it.
You are correct using $Extend$Reparse:$R:$INDEX_ALLOCATION file for the
purpose of enumerating reparse points. This file is a meatdata file that is
similar to a directory - you can’t read its contents using ReadaFile, you
should use directory enumeration API instead.
Alexei.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Alexei Jelvis
Sent: Thursday, February 22, 2007 10:46 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Reparse point index
No, you can’t read from this file, use NtQueryDirectoryFile with
FileReparsePointInformation information class to enumerate all reparse
points.
Alexei.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of
xxxxx@yahoo.com
Sent: Thursday, February 22, 2007 10:42 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Reparse point index
Does anyone know of any sample code for reading the reparse point index? I
believe it involves opening $Extend$Reparse:$R:$INDEX_ALLOCATION, which I am
able to do, and reading from that handle. When I try to read I get
ERROR_INVALID_FUNCTION (using WIN32 CreateFile and ReadFile). I am also not
sure of the format of the index entries. Any information would be helpful.
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@vmware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Alexei;
Thanks for the help. It works great. It would be nice if there were WIN32 calls that provided this functionality though