Different Windows versions and FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE

It seems that FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE is only defined in
fltkernel.h of W2K and WNET versions. It is not defined in the WXP version.
Because I want to keep only one version of my minifilter driver. I put the
following definition in my code and it seems working well even in Windows XP
SP2.

#ifndef FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE
#define FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE 0x04000000
#endif
status = FltGetFileNameInformation( Data, FLT_FILE_NAME_NORMALIZED |
FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE, &nameInfo );

Should this be a bug of the current IFSkit beta version? The release number
is 3790.1414.

Thanks,

Shangwu

it was added after WinXP SP2 was released. It’s also in WinServer2003 SP1,
2k SP5 and Longhorn

Petr

“Shangwu” wrote in message news:xxxxx@ntfsd…
> It seems that FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE is only defined in
> fltkernel.h of W2K and WNET versions. It is not defined in the WXP
> version. Because I want to keep only one version of my minifilter driver.
> I put the following definition in my code and it seems working well even
> in Windows XP SP2.
>
> #ifndef FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE
> #define FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE 0x04000000
> #endif
> status = FltGetFileNameInformation( Data, FLT_FILE_NAME_NORMALIZED |
> FLT_FILE_NAME_ALLOW_QUERY_ON_REPARSE, &nameInfo );
>
> Should this be a bug of the current IFSkit beta version? The release
> number is 3790.1414.
>
> Thanks,
>
> Shangwu
>
>