// FEV load/unload.                                 
		public RESULT load(string name_or_data, ref EVENT_LOADINFO loadinfo, ref EventProject project)
		{
			RESULT result = RESULT.OK;
			IntPtr eventprojectraw = new IntPtr();
			EventProject eventprojectnew = null;

			try
			{
				result = FMOD_EventSystem_Load(eventsystemraw, name_or_data, ref loadinfo, ref eventprojectraw);
			}
			catch
			{
				result = RESULT.ERR_INVALID_PARAM;
			}
			if (result != RESULT.OK)
			{
				return result;
			}

			if (project == null)
			{
				eventprojectnew = new EventProject();
				eventprojectnew.setRaw(eventprojectraw);
				project = eventprojectnew;
			}
			else
			{
				project.setRaw(eventprojectraw);
			}

			return result;
		}
		public RESULT getProjectByIndex(int index, ref EventProject project)
		{
			RESULT result = RESULT.OK;
			IntPtr eventprojectraw = new IntPtr();
			EventProject eventprojectnew = null;

			try
			{
				result = FMOD_EventSystem_GetProjectByIndex(eventsystemraw, index, ref eventprojectraw);
			}
			catch
			{
				result = RESULT.ERR_INVALID_PARAM;
			}
			if (result != RESULT.OK)
			{
				return result;
			}

			if (project == null)
			{
				eventprojectnew = new EventProject();
				eventprojectnew.setRaw(eventprojectraw);
				project = eventprojectnew;
			}
			else
			{
				project.setRaw(eventprojectraw);
			}

			return result;
		}
		public RESULT getParentProject(ref EventProject project)
		{
			RESULT result = RESULT.OK;
			IntPtr eventprojectraw = new IntPtr();
			EventProject eventprojectnew = null;

			try
			{
				result = FMOD_EventGroup_GetParentProject(eventgroupraw, ref eventprojectraw);
			}
			catch
			{
				result = RESULT.ERR_INVALID_PARAM;
			}
			if (result != RESULT.OK)
			{
				return result;
			}

			if (project == null)
			{
				eventprojectnew = new EventProject();
				eventprojectnew.setRaw(eventprojectraw);
				project = eventprojectnew;
			}
			else
			{
				project.setRaw(eventprojectraw);
			}

			return result;
		}