Method FromUIntPtr
FromUIntPtr(nuint)
Creates a FunctionPointer from a memory address given as a nint.
Declaration
public static FunctionPointer FromUIntPtr(nuint value)
Parameters
| Type | Name | Description |
|---|---|---|
| nuint | value | The memory address to create a FunctionPointer from. |
Returns
| Type | Description |
|---|---|
| FunctionPointer | A FunctionPointer that points to the same memory address as the specified |
Implements
Remarks
The value must not be 0. If it is, an ArgumentNullException will be thrown.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|