3 * reactos/ntoskrnl/fs/name.c
10 PUCHAR * FsRtlLegalAnsiCharacterArray = NULL;
13 /**********************************************************************
15 * FsRtlAreNamesEqual@16
24 * From Bo Branten's ntifs.h v25.
31 IN PUNICODE_STRING Name1,
32 IN PUNICODE_STRING Name2,
33 IN BOOLEAN IgnoreCase,
34 IN PWCHAR UpcaseTable OPTIONAL
41 /**********************************************************************
65 /**********************************************************************
67 * FsRtlDoesNameContainWildCards@4
76 * From Bo Branten's ntifs.h v12.
81 FsRtlDoesNameContainWildCards (IN PUNICODE_STRING Name)
85 if (Name->Length == 0)
88 /* Set pointer to last character of the string */
89 Ptr = (PWCHAR)((ULONG_PTR)Name->Buffer + Name->Length - sizeof(WCHAR));
91 while (Ptr > Name->Buffer)
93 /* Stop at backslash */
97 /* Check for wildcards */
99 (*Ptr == L'\"' || *Ptr == L'*' || *Ptr == L'<' ||
100 *Ptr == L'>' || *Ptr == L'?'))
103 /* Move to previous character */
111 /**********************************************************************
113 * FsRtlIsNameInExpression@16
122 * From Bo Branten's ntifs.h v12.
128 FsRtlIsNameInExpression (
129 IN PUNICODE_STRING Expression,
130 IN PUNICODE_STRING Name,
131 IN BOOLEAN IgnoreCase,
132 IN PWCHAR UpcaseTable OPTIONAL