[NTOS] Make RtlFindCharInUnicodeString available in the kernel.
authorThomas Faber <thomas.faber@reactos.org>
Sun, 29 Dec 2019 12:46:15 +0000 (13:46 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Tue, 31 Dec 2019 14:17:59 +0000 (15:17 +0100)
ntoskrnl/include/internal/rtl.h

index 597134a..c38886c 100644 (file)
@@ -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 */