public static void send_capture_lost_event(cef_browser_host_t *self) { send_capture_lost_event_delegate d; var p = self->_send_capture_lost_event; if (p == _p20) { d = _d20; } else { d = (send_capture_lost_event_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(send_capture_lost_event_delegate)); if (_p20 == IntPtr.Zero) { _d20 = d; _p20 = p; } } d(self); }
public static void send_capture_lost_event(cef_browser_host_t* self) { send_capture_lost_event_delegate d; var p = self->_send_capture_lost_event; if (p == _p21) { d = _d21; } else { d = (send_capture_lost_event_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(send_capture_lost_event_delegate)); if (_p21 == IntPtr.Zero) { _d21 = d; _p21 = p; } } d(self); }