Operator explicit operator
explicit operator FunctionPointer(Pointer)
Converts a Pointer to a FunctionPointer.
Declaration
public static explicit operator FunctionPointer(Pointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer | pointer | The Pointer to convert. |
Returns
| Type | Description |
|---|---|
| FunctionPointer | A FunctionPointer pointing to the target function that's the same target as the specified Pointer, reinterpreted as an executable function. |
explicit operator NullableFunctionPointer(Pointer)
Converts a Pointer to a NullableFunctionPointer.
Declaration
public static explicit operator NullableFunctionPointer(Pointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer | pointer | The Pointer to convert. |
Returns
| Type | Description |
|---|---|
| NullableFunctionPointer | A NullableFunctionPointer pointing to the target function that's the same target as the specified Pointer, reinterpreted as an executable function. |