Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
OSAGetResumeDispatchProc
You can use theOSAGetResumeDispatchProcfunction to get the resume dispatch function currently being used by a scripting component instance during execution of an AppleScriptcontinuestatement or its equivalent.
FUNCTION OSAGetResumeDispatchProc (scriptingComponent: ComponentInstance; VAR resumeDispatchProc: AEHandlerProcPtr; VAR refCon: LongInt): OSAError;
- scriptingComponent
- A component instance created by a prior call to the Component Manager function
OpenDefaultComponentorOpenComponent(see page 10-4).resumeDispatchProc- The
OSAGetResumeDispatchProcfunction returns a pointer to the resume dispatch function for the specified scripting component in this parameter. If no resume dispatch function has been registered,OSAGetResumeDispatchProcreturnskOSAUseStandardDispatch(the default).refCon- The
OSAGetResumeDispatchProcfunction returns the reference constant associated with the resume dispatch function in this parameter.RESULT CODES
noErr 0 No error errOSASystemError -1750 General scripting system error badComponentInstance $80008001 Invalid component instance
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |