Important: The information in this document is obsolete and should not be used for new development.
OSAGetSendProc
You can use theOSAGetSendProc
function to get a pointer to the send function that a scripting component is currently using.
FUNCTION OSAGetSendProc(scriptingComponent: ComponentInstance; VAR sendProc: AESendProcPtr; VAR refCon: LongInt): OSAError;
scriptingComponent
A component instance created by a prior call to the Component Manager functionOpenDefaultComponent
orOpenComponent
(see page 10-4).sendProc
- The
OSAGetSendProc
function returns, in this parameter, a pointer to the send function currently set for the specified scripting component.refCon
- The
OSAGetSendProc
function returns, in this parameter, the reference constant associated with the send function for the specified scripting component.RESULT CODES
noErr 0 No error errOSASystemError -1750 General scripting system error badComponentInstance $80008001 Invalid component instance