public RESULT getPluginInfo(uint handle, out PLUGINTYPE plugintype, StringBuilder name, int namelen, out uint version) { IntPtr intPtr = Marshal.AllocHGlobal(name.Capacity); RESULT result = System.FMOD5_System_GetPluginInfo(this.rawPtr, handle, out plugintype, intPtr, namelen, out version); StringMarshalHelper.NativeToBuilder(name, intPtr); Marshal.FreeHGlobal(intPtr); return(result); }
public RESULT getPluginInfo(uint handle, out PLUGINTYPE plugintype, out string name, int namelen, out uint version) { IntPtr intPtr = Marshal.AllocHGlobal(namelen); RESULT result = FMOD5_System_GetPluginInfo(this.handle, handle, out plugintype, intPtr, namelen, out version); using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper()) { name = threadSafeEncoding.stringFromNative(intPtr); } Marshal.FreeHGlobal(intPtr); return(result); }
public RESULT unloadPlugin(PLUGINTYPE plugintype, int index) { return FMOD_System_UnloadPlugin(systemraw, plugintype, index); }
private static extern RESULT FMOD_System_GetPluginHandle(IntPtr system, PLUGINTYPE plugintype, int index, ref uint handle);
public RESULT getPluginInfo(uint handle, ref PLUGINTYPE plugintype, StringBuilder name, int namelen, ref uint version) { return FMOD_System_GetPluginInfo(systemraw, handle, ref plugintype, name, namelen, ref version); }
public RESULT getNumPlugins(PLUGINTYPE plugintype, ref int numplugins) { return FMOD_System_GetNumPlugins(systemraw, plugintype, ref numplugins); }
public RESULT getPluginInfo (uint handle, out PLUGINTYPE plugintype, StringBuilder name, int namelen, out uint version) { IntPtr stringMem = Marshal.AllocHGlobal(name.Capacity); RESULT result = FMOD_System_GetPluginInfo(rawPtr, handle, out plugintype, stringMem, namelen, out version); StringMarshalHelper.NativeToBuilder(name, stringMem); Marshal.FreeHGlobal(stringMem); return result; }
public RESULT getNumPlugins (PLUGINTYPE plugintype, out int numplugins) { return FMOD_System_GetNumPlugins(rawPtr, plugintype, out numplugins); }
public RESULT getPluginHandle(PLUGINTYPE plugintype, int index, out uint handle) { return(System.FMOD5_System_GetPluginHandle(this.rawPtr, plugintype, index, out handle)); }
public RESULT getNumPlugins(PLUGINTYPE plugintype, out int numplugins) { return(System.FMOD5_System_GetNumPlugins(this.rawPtr, plugintype, out numplugins)); }
public RESULT getNumPlugins(PLUGINTYPE plugintype, out int numplugins) { return System.FMOD5_System_GetNumPlugins(this.rawPtr, plugintype, out numplugins); }
public RESULT getPluginInfo (uint handle, out PLUGINTYPE plugintype, StringBuilder name, int namelen, out uint version) { return FMOD_System_GetPluginInfo(rawPtr, handle, out plugintype, name, namelen, out version); }
public static bool GeRegisterPlugin(PLUGINTYPE type, int id, string /* constString&_cstype */ str, SWIGTYPE_p_void data, int datasize) { bool ret = C4dApiPINVOKE.GeRegisterPlugin((int)type, id, str, SWIGTYPE_p_void.getCPtr(data), datasize); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public RESULT getPluginInfo(uint handle, out PLUGINTYPE plugintype, out uint version) { return(FMOD5_System_GetPluginInfo(this.handle, handle, out plugintype, IntPtr.Zero, 0, out version)); }
private static extern RESULT FMOD_System_LoadPlugin(IntPtr system, string filename, ref PLUGINTYPE plugintype, ref int index);
private static extern RESULT FMOD_System_UnloadPlugin(IntPtr system, PLUGINTYPE plugintype, int index);
private static extern RESULT FMOD5_System_GetNumPlugins(IntPtr system, PLUGINTYPE plugintype, out int numplugins);
public RESULT getPluginHandle (PLUGINTYPE plugintype, int index, out uint handle) { return FMOD_System_GetPluginHandle(rawPtr, plugintype, index, out handle); }
private static extern RESULT FMOD5_System_GetPluginHandle(IntPtr system, PLUGINTYPE plugintype, int index, out uint handle);
private static extern RESULT FMOD_System_GetPluginInfo (IntPtr system, uint handle, out PLUGINTYPE plugintype, IntPtr name, int namelen, out uint version);
private static extern RESULT FMOD5_System_GetPluginInfo(IntPtr system, uint handle, out PLUGINTYPE plugintype, IntPtr name, int namelen, out uint version);
public RESULT getPluginHandle(PLUGINTYPE plugintype, int index, ref uint handle) { return FMOD_System_GetPluginHandle(systemraw, plugintype, index, ref handle); }
public RESULT getPluginInfo(PLUGINTYPE plugintype, int index, StringBuilder name, int namelen, ref uint version) { return FMOD_System_GetPluginInfo(systemraw, plugintype, index, name, namelen, ref version); }
private static extern RESULT FMOD_System_GetNumPlugins(IntPtr system, PLUGINTYPE plugintype, ref int numplugins);
public RESULT loadPlugin(string filename, ref PLUGINTYPE plugintype, ref int index) { return FMOD_System_LoadPlugin(systemraw, filename, ref plugintype, ref index); }
private static extern RESULT FMOD_System_GetPluginInfo(IntPtr system, uint handle, ref PLUGINTYPE plugintype, StringBuilder name, int namelen, ref uint version);
public RESULT getNumPlugins(PLUGINTYPE plugintype, out int numplugins) { return(FMOD5_System_GetNumPlugins(handle, plugintype, out numplugins)); }