public RESULT getSystemObject(ref _System system) { RESULT rESULT = RESULT.OK; IntPtr raw = IntPtr.Zero; try { rESULT = Channel.FMOD_Channel_GetSystemObject(channelraw, ref raw); } catch { rESULT = RESULT.ERR_INVALID_PARAM; } RESULT result; if (rESULT != RESULT.OK) { result = rESULT; } else { if (system == null) { _System system2 = new _System(); system2.setRaw(raw); system = system2; } else { system.setRaw(raw); } result = rESULT; } return(result); }