Table of Contents

Delegate RefHandleMarshaller.ReturningOp<TRetVal>

Namespace
Ubiquity.NET.InteropHelpers
Assembly
Ubiquity.NET.InteropHelpers.dll

Delegate for an operation with marshaled memory

public delegate TRetVal RefHandleMarshaller.ReturningOp<TRetVal>(nint* nativeArrayPtr, int size)

Parameters

nativeArrayPtr nint*

Pointer to a pinned array of raw handles

size int

Number of handles in the array

Returns

TRetVal

Result of the operation

Type Parameters

TRetVal

Return value of the operation