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