public static unsafe void ImportMemoryWin32Name <T0>(this ExtMemoryObjectWin32 thisApi, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong size, [Flow(FlowDirection.In)] ExternalHandleType handleType, [Flow(FlowDirection.In)] ReadOnlySpan <T0> name) where T0 : unmanaged { // SpanOverloader thisApi.ImportMemoryWin32Name(memory, size, handleType, in name.GetPinnableReference()); }
public static unsafe void ImportMemoryWin32Handle <T0>(this ExtMemoryObjectWin32 thisApi, [Flow(FlowDirection.In)] uint memory, [Flow(FlowDirection.In)] ulong size, [Flow(FlowDirection.In)] EXT handleType, [Flow(FlowDirection.Out)] Span <T0> handle) where T0 : unmanaged { // SpanOverloader thisApi.ImportMemoryWin32Handle(memory, size, handleType, out handle.GetPinnableReference()); }