RtlFreeUnicodeString

[DllImport("ntdll.dll", SetLastError = true)]
public static extern void RtlFreeUnicodeString(
   ref UNICODE_STRING UnicodeString
);

Microsoft documentation: Link

Last updated