Change reparse data in minifilter?

Hi all,

Is it possible to change some reparse point data inside mini filter (kernel space)?

I was just reading “Filder driver Development gude” (too bad it is so short :\ ) and I read this ->

“Another exception is during the post-operation processing of IRP_MJ_CREATE operations. When a reparse point is encountered, the Data->TagData will point to the reparse data buffer. If a minifilter wishes to change this buffer in any way, it can free the existing buffer and replace Data->TagData with a new buffer (or NULL) without calling FLT_SET_CALLBACK_DATA_DIRTY().”

Regards,
Alec999

I did found FltTagFile and it looked like what I needed in my minifilter.
But I always get this error.

STATUS_INVALID_PARAMETER
FileTag is not a Microsoft tag, and NULL was specified for Guid. This is an error code.

I am inserting my TAG and GUID 100%, so I don"t understand this error.

Can anybody shed some lite on this, I have no idea what I am doing wrong here.

Please provide a debugger DC display of your reparse point buffer that
is being rejected so we can see what is wrong.

You didn’t say what you are trying to do with your reparse point but
today the only supported scenario for 3rd party filters using reparse
points is for HSM type filters. You can not get an official reparse
point tag for any other type of usage. The reason for this restriction
is because a file can only have one reparse point and if we allow its
usage for other types of scenarios it breaks the HSM scenario.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
Rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, October 16, 2006 12:31 AM
To: Windows File Systems Devs Interest List
Subject: RE:[ntfsd] Change reparse data in minifilter?

I did found FltTagFile and it looked like what I needed in my
minifilter.
But I always get this error.

STATUS_INVALID_PARAMETER
FileTag is not a Microsoft tag, and NULL was specified for Guid. This is
an error code.

I am inserting my TAG and GUID 100%, so I don"t understand this error.

Can anybody shed some lite on this, I have no idea what I am doing wrong
here.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com