public static switch_chat_application_interface switch_loadable_module_get_chat_application_interface(string name) { IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_chat_application_interface(name); switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); return ret; }