static extern OsaError OSALoadExecute(ComponentInstance scriptingComponent, ref AEDesc scriptData, OsaId contextID, OsaMode modeFlags, ref OsaId resultingScriptValueID);
static extern OsaError OSAScriptError(ComponentInstance scriptingComponent, OsaErrorSelector selector, DescType desiredType, out AEDesc resultingErrorDescription);
static extern OsaError OSADisplay(ComponentInstance scriptingComponent, OsaId scriptValueID, DescType desiredType, OsaMode modeFlags, out AEDesc resultingText);
static extern OsaError OSALoad(ComponentInstance scriptingComponent, ref AEDesc sourceData, OsaMode modeFlags, ref OsaId previousAndResultingScriptID);
static extern OsaError OSAExecute(ComponentInstance scriptingComponent, OsaId compiledScriptID, OsaId contextID, OsaMode modeFlags, out OsaId resultingScriptValueID);
static extern OsaError OSADispose(ComponentInstance scriptingComponent, OsaId scriptID);
static extern OsaError OSADoScript(ComponentInstance scriptingComponent, ref AEDesc sourceData, OsaId contextID, DescType desiredType, OsaMode modeFlags, ref AEDesc resultingText);
public static extern int GetComponentInstanceError (ComponentInstance componentInstance); //returns an oserr
public static extern ComponentErr CloseComponent (ComponentInstance componentInstance);
public static extern int GetComponentInstanceError(ComponentInstance componentInstance); //returns an oserr
public static extern ComponentErr CloseComponent(ComponentInstance componentInstance);