internal static void get_load_handler(IntPtr gcHandlePtr, out IntPtr __retval) { var self = (CfxRenderProcessHandler)System.Runtime.InteropServices.GCHandle.FromIntPtr(gcHandlePtr).Target; if(self == null) { __retval = default(IntPtr); return; } var e = new CfxGetLoadHandlerEventArgs(); var eventHandler = self.m_GetLoadHandler; if(eventHandler != null) eventHandler(self, e); e.m_isInvalid = true; __retval = CfxLoadHandler.Unwrap(e.m_returnValue); }
private void DebugCfxClient_GetLoadHandler(object sender, CfxGetLoadHandlerEventArgs e) { _CfxLoadHandler = new CfxLoadHandler(); _CfxLoadHandler.OnLoadEnd += Loader_OnLoadEnd; e.SetReturnValue(_CfxLoadHandler); }