[]
Return the unmanaged C++ pointer from a ICallbackable instance.
public static IntPtr ToCallbackPtr<TCallback>(ICallbackable callback) where TCallback : ICallbackable
| Type | Name | Description |
|---|---|---|
| ICallbackable | callback | The callback. |
| Type | Description |
|---|---|
| IntPtr | A pointer to the unmanaged C++ object of the callback |
| Name | Description |
|---|---|
| TCallback | The type of the callback. |