https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2a91ea855a192b429cb742...
commit 2a91ea855a192b429cb7428161205cc845468152 Author: Thomas Faber thomas.faber@reactos.org AuthorDate: Sun Dec 29 13:46:15 2019 +0100 Commit: Thomas Faber thomas.faber@reactos.org CommitDate: Tue Dec 31 15:17:59 2019 +0100
[NTOS] Make RtlFindCharInUnicodeString available in the kernel. --- ntoskrnl/include/internal/rtl.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/ntoskrnl/include/internal/rtl.h b/ntoskrnl/include/internal/rtl.h index 597134a8b8c..c38886c7cab 100644 --- a/ntoskrnl/include/internal/rtl.h +++ b/ntoskrnl/include/internal/rtl.h @@ -22,4 +22,16 @@ RtlInitializeRangeListPackage( VOID );
+#define RTL_FIND_CHAR_IN_UNICODE_STRING_START_AT_END 1 +#define RTL_FIND_CHAR_IN_UNICODE_STRING_COMPLEMENT_CHAR_SET 2 +#define RTL_FIND_CHAR_IN_UNICODE_STRING_CASE_INSENSITIVE 4 +NTSTATUS +NTAPI +RtlFindCharInUnicodeString( + _In_ ULONG Flags, + _In_ PCUNICODE_STRING SearchString, + _In_ PCUNICODE_STRING MatchString, + _Out_ PUSHORT Position +); + /* EOF */