[DllImport("ntdll.dll", SetLastError = true)] public static extern void RtlInitUnicodeString( out UNICODE_STRING DestinationString, [MarshalAs(UnmanagedType.LPWStr)] string SourceString );
Microsoft documentation: Link
Last updated 1 year ago