public void registerCallback(Location2DCallback cb, IntPtr /*void*/ userdata) { osvrRegisterLocation2DCallback(m_interface, cb, userdata); }
protected override void Start() { cb = new Location2DCallback(this.InterfaceCallback); Interface.osvrRegisterLocation2DCallback(iface.Handle, cb, IntPtr.Zero); }
public extern static Byte osvrRegisterLocation2DCallback(SafeClientInterfaceHandle iface, [MarshalAs(UnmanagedType.FunctionPtr)] Location2DCallback cb, IntPtr /*void**/ userdata);