21 references to MARSHALLED_UNICODE_STRING
System.Security.Principal.Windows (21)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (13)
419
internal static partial uint LsaLookupNames2(global::Microsoft.Win32.SafeHandles.SafeLsaPolicyHandle handle, int flags, int count, global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
[] names, out global::Microsoft.Win32.SafeHandles.SafeLsaMemoryHandle referencedDomains, out global::Microsoft.Win32.SafeHandles.SafeLsaMemoryHandle sids)
428
global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.Native* __names_native = default;
435
scoped global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
, global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.Native>.ManagedToUnmanagedIn __names_native__marshaller = new();
441
__names_native__marshaller.FromManaged(names, stackalloc global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.Native[global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
, global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.Native>.ManagedToUnmanagedIn.BufferSize]);
443
global::System.ReadOnlySpan<global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
> __names_native__managedSpan = __names_native__marshaller.GetManagedValuesSource();
444
global::System.Span<global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.Native> __names_native__nativeSpan = __names_native__marshaller.GetUnmanagedValuesDestination();
447
__names_native__nativeSpan[__i0] = global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.ConvertToUnmanaged(__names_native__managedSpan[__i0]);
480
global::System.ReadOnlySpan<global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.Native> __names_native__nativeSpan = __names_native__marshaller.GetUnmanagedValuesDestination();
483
global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.Free(__names_native__nativeSpan[__i0]);
494
static extern unsafe uint __PInvoke(nint __handle_native, int __flags_native, int __count_native, global::Interop.Advapi32.
MARSHALLED_UNICODE_STRING
.Marshaller.Native* __names_native, nint* __referencedDomains_native, nint* __sids_native);
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.LsaLookupNames2.cs (6)
19
MARSHALLED_UNICODE_STRING
[] names,
31
[CustomMarshaller(typeof(
MARSHALLED_UNICODE_STRING
), MarshalMode.ManagedToUnmanagedIn, typeof(Marshaller))]
32
[CustomMarshaller(typeof(
MARSHALLED_UNICODE_STRING
), MarshalMode.ElementIn, typeof(Marshaller))]
35
public static
MARSHALLED_UNICODE_STRING
ConvertToManaged(Native unmanaged)
37
MARSHALLED_UNICODE_STRING
m;
44
public static Native ConvertToUnmanaged(
MARSHALLED_UNICODE_STRING
managed)
System\Security\Principal\NTAccount.cs (2)
222
Interop.Advapi32.
MARSHALLED_UNICODE_STRING
[] Names = new Interop.Advapi32.
MARSHALLED_UNICODE_STRING
[sourceAccounts.Count];