public void GetId(uint idx, out SoundControlElementId elem) { IntPtr ptr; SoundNativeMethods.SoundControlElementListGetId(handle, idx, out ptr); elem = new SoundControlElementId(ptr); }