/// <summary> /// Create a new CfrProcessMessage object with the specified name. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_process_message_capi.h">cef/include/capi/cef_process_message_capi.h</see>. /// </remarks> public static CfrProcessMessage Create(string name) { var call = new CfxProcessMessageCreateRemoteCall(); call.name = name; call.RequestExecution(); return(CfrProcessMessage.Wrap(new RemotePtr(call.__retval))); }
/// <summary> /// Create a new CfrProcessMessage object with the specified name. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_process_message_capi.h">cef/include/capi/cef_process_message_capi.h</see>. /// </remarks> public static CfrProcessMessage Create(string name) { var connection = CfxRemoteCallContext.CurrentContext.connection; var call = new CfxProcessMessageCreateRemoteCall(); call.name = name; call.RequestExecution(connection); return(CfrProcessMessage.Wrap(new RemotePtr(connection, call.__retval))); }