[NDK]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 16 Nov 2013 12:02:17 +0000 (12:02 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 16 Nov 2013 12:02:17 +0000 (12:02 +0000)
- Add RtlEraseUnicodeString
ROSTESTS-126

svn path=/trunk/; revision=61007

reactos/include/ndk/rtlfuncs.h

index 835d582..10dcd46 100644 (file)
@@ -2112,10 +2112,21 @@ RtlFindCharInUnicodeString(
     _Out_ PUSHORT Position
 );
 
+_IRQL_requires_max_(PASSIVE_LEVEL)
+NTSYSAPI
+VOID
+NTAPI
+RtlFreeUnicodeString(
+    _Inout_ _At_(UnicodeString->Buffer, __drv_freesMem(Mem))
+        PUNICODE_STRING UnicodeString
+);
+
 NTSYSAPI
 VOID
 NTAPI
-RtlFreeUnicodeString(IN PUNICODE_STRING UnicodeString);
+RtlEraseUnicodeString(
+    _Inout_ PUNICODE_STRING String
+);
 
 NTSYSAPI
 NTSTATUS