Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Termination phase

The termination phase begins when iMovie passes in the kPlugTerminate selector for the plug-in instance. At this point it is assumed that the plug-in has completed all of its processing for this instance. The plug-in should perform all necessary clean-up and return the appropriate result code.

Result Codes

Table 1-8 lists the result codes (defined in HYPluginResult) that the plug-in can return, or that might be returned to the plug-in by many of the API procedures.

Table 1-8  Result codes in iMovie

Result code

Notes

Returned by

kPluginOK

Value: 0. Operation completed successfully.

iMovie, plug-in

kPluginFinished

Operation terminated unsuccessfully

iMovie, plug-in

kPluginBadParams

One or more parameters received were invalid

iMovie, plug-in

kPluginOutOfMemory

Plug-in couldn’t get necessary RAM

iMovie

kPluginOutOfDiskSpace

Target disk doesn’t have room to write a file

iMovie

kPluginFailed

Operation terminated unsuccessfully

plug-in

kPluginCantGetNeededFrame

Plug-in couldn’t obtain a frame required for its service

plug-in

kPluginUnimplemented

Selected service does not exist

iMovie

kPluginTryAgainLater

Selected service is not currently available

iMovie, plug-in

kPluginAppIsTooOld

Plug-in incompatible with older iMovie

plug-in

kPluginAppIsTooNew

iMovie incompatible with older plug-in

plug-in



< Previous PageNext Page > Hide TOC


Last updated: 2007-09-04




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
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