Filtering Directory names

Hey:

I need to filter directory names (so I need only files with extension) from
FltGetFileNameInformation(Data, FLT_FILE_NAME_NORMALIZED | FLT_FILE_NAME_QUERY_DEFAULT,
&NameToInquiry);
FltParseFileNameInformation(NameToInquiry);
I tried with:

If ( NameToInquiry->FinalComponent.Length == 0)
{

FltReleaseFileNameInformation( NameToInquiry);
<<<…>>>>>>
return FLT_POSTOP_FINISHED_PROCESSING;

}

but that works bad and don’t filters…Someone can help me please!!!


On Yahoo!7
360°: Your own space to share what you want with who you want!

So I have a file called ‘friend’ in a directory called ‘read.doc’ … :slight_smile:

“Robinson Oliva” wrote in message
news:xxxxx@ntfsd…
Hey:

I need to filter directory names (so I need only files with extension) from
FltGetFileNameInformation(Data, FLT_FILE_NAME_NORMALIZED |
FLT_FILE_NAME_QUERY_DEFAULT,
&NameToInquiry);
FltParseFileNameInformation(NameToInquiry);
I tried with:

If ( NameToInquiry->FinalComponent.Length == 0)
{

FltReleaseFileNameInformation( NameToInquiry);
<<<…>>>>>>
return FLT_POSTOP_FINISHED_PROCESSING;

}

but that works bad and don’t filters…Someone can help me please!!!

On Yahoo!7
360°: Your own space to share what you want with who you want!