[NDK]: One can use either RtlGetLengthWithoutTrailingPathSeparators or RtlGetLengthWi...
[reactos.git] / reactos / include / ndk / rtlfuncs.h
index 7216f13..e1ce04c 100644 (file)
@@ -2725,6 +2725,21 @@ RtlGetFullPathName_UstrEx(
     _Out_opt_ PSIZE_T LengthNeeded
 );
 
+NTSYSAPI
+NTSTATUS
+NTAPI
+RtlGetLengthWithoutTrailingPathSeparators(
+    _In_ ULONG Flags,
+    _In_ PCUNICODE_STRING PathString,
+    _Out_ PULONG Length
+);
+/*
+ * NOTE: the export is called RtlGetLengthWithoutTrailingPathSeperators
+ *        (with a 'e' instead of a 'a' in "Seperators").
+ */
+#define RtlGetLengthWithoutTrailingPathSeperators   \
+        RtlGetLengthWithoutTrailingPathSeparators
+
 NTSYSAPI
 ULONG
 NTAPI