private static unsafe int DoSetCurrentPreset(IntPtr aPtr, uint aVersion, uint aaPreset) { GCHandle gch = GCHandle.FromIntPtr(aPtr); DvServiceLinnCoUkJukebox1 self = (DvServiceLinnCoUkJukebox1)gch.Target; self.SetCurrentPreset(aVersion, aaPreset); return(0); }
private static unsafe int DoSetAlbumArtFileName(IntPtr aPtr, uint aVersion, char *aaName) { GCHandle gch = GCHandle.FromIntPtr(aPtr); DvServiceLinnCoUkJukebox1 self = (DvServiceLinnCoUkJukebox1)gch.Target; string aName = Marshal.PtrToStringAnsi((IntPtr)aaName); self.SetAlbumArtFileName(aVersion, aName); return(0); }
private static unsafe int DoSetPresetPrefix(IntPtr aPtr, uint aVersion, char *aaUri) { GCHandle gch = GCHandle.FromIntPtr(aPtr); DvServiceLinnCoUkJukebox1 self = (DvServiceLinnCoUkJukebox1)gch.Target; string aUri = Marshal.PtrToStringAnsi((IntPtr)aaUri); self.SetPresetPrefix(aVersion, aUri); return(0); }
private static unsafe int DoLoadManifest(IntPtr aPtr, uint aVersion, uint *aaTotalPresets) { GCHandle gch = GCHandle.FromIntPtr(aPtr); DvServiceLinnCoUkJukebox1 self = (DvServiceLinnCoUkJukebox1)gch.Target; uint aTotalPresets; self.LoadManifest(aVersion, out aTotalPresets); *aaTotalPresets = aTotalPresets; return(0); }
private static unsafe int DoPresetMetaData(IntPtr aPtr, uint aVersion, uint aaPreset, char **aaMetaData) { GCHandle gch = GCHandle.FromIntPtr(aPtr); DvServiceLinnCoUkJukebox1 self = (DvServiceLinnCoUkJukebox1)gch.Target; string aMetaData; self.PresetMetaData(aVersion, aaPreset, out aMetaData); *aaMetaData = (char *)Marshal.StringToHGlobalAnsi(aMetaData).ToPointer(); return(0); }
private static unsafe int DoAlbumArtFileName(IntPtr aPtr, uint aVersion, char **aaName) { GCHandle gch = GCHandle.FromIntPtr(aPtr); DvServiceLinnCoUkJukebox1 self = (DvServiceLinnCoUkJukebox1)gch.Target; string aName; self.AlbumArtFileName(aVersion, out aName); *aaName = (char *)Marshal.StringToHGlobalAnsi(aName).ToPointer(); return(0); }
private static unsafe int DoPresetPrefix(IntPtr aPtr, uint aVersion, char **aaUri) { GCHandle gch = GCHandle.FromIntPtr(aPtr); DvServiceLinnCoUkJukebox1 self = (DvServiceLinnCoUkJukebox1)gch.Target; string aUri; self.PresetPrefix(aVersion, out aUri); *aaUri = (char *)Marshal.StringToHGlobalAnsi(aUri).ToPointer(); return(0); }