public string GetName(uint idx) { IntPtr ptr = SoundNativeMethods.SoundControlElementListGetName(handle, idx); return(Marshal.PtrToStringAnsi(ptr)); }