FsRtlIsNameInExpression multiple expressions

Is it possible to use a single call to FsRtlIsNameInExpression to match multiple expression? If so, how do I format the string.

I wan’t to be able to do something like FsRtlIsNameInExpression(“*.EXE | *.SYS”, name,…)

The reason I want to do this is because I need the expression statement to be dynamic and user configurable.


Not my thing really, but I don’t think so.

Good luck,


No, the regular expression syntax is very simple - just five wild card characters.

If you want to use this function, just iterate through the entries in your list and call it for each one.