public RESULT findNextEntry(ref EventQueueEntry entry)
		{
			IntPtr raw = entry.getRaw();
			RESULT result = FMOD_EventQueue_FindNextEntry(eventqueueraw, ref raw);
			entry.setRaw(raw);
			return result;
		}
		public RESULT createEventQueueEntry(Event _event, ref EventQueueEntry entry)
		{
			RESULT result = RESULT.OK;
			IntPtr entryraw = new IntPtr();

			try
			{
				result = FMOD_EventSystem_CreateEventQueueEntry(eventsystemraw, _event.getRaw(), ref entryraw);
			}
			catch
			{
				result = RESULT.ERR_INVALID_PARAM;
			}
			if (result != RESULT.OK)
			{
				return result;
			}

			if (entry == null)
			{
				EventQueueEntry entrynew = new EventQueueEntry();
				entrynew.setRaw(entryraw);
				entry = entrynew;
			}
			else
			{
				entry.setRaw(entryraw);
			}

			return result;
		}