Below is the definition of the return values in Premiere Elements 8. The red values are unique to Premiere Elements 8, and shifted the subsequent return values 2 values higher than their definition in the Premiere Pro SDK. enum { exportReturn_ErrNone = 0, // no error exportReturn_Abort, // User aborted the compile exportReturn_Done, // Export finished normally exportReturn_InternalError, exportReturn_OutputFormatAccept, // The output format is valid exportReturn_OutputFormatDecline, // The compile module cannot compile to the output format exportReturn_OutOfDiskSpace, // Out of disk space error exportReturn_BufferFull, // The offset into the audio buffer would overflow it exportReturn_ErrOther, // exportReturn_ErrMemory, // ran out of memory exportReturn_ErrFileNotFound, // File not found exportReturn_ErrTooManyOpenFiles, // Too many open files exportReturn_ErrPermErr, // Permission violation exportReturn_ErrOpenErr, // Unable to open the file exportReturn_ErrInvalidDrive, // Drive isn't valid. exportReturn_ErrDupFile, // Duplicate Filename exportReturn_ErrIo, // File io error exportReturn_ErrInUse, // File is in use exportReturn_IterateExporter, // Return value from exSelStartup to request Exporter iteration exportReturn_IterateExporterDone, // Return value from exSelStartup to indicate there are no more Exporters exportReturn_InternalErrorSilent, /* Silent error code; host application will not display an error message on screen. Exporters can return this error code from compDoCompile if they wish to put their own customized error message on screen just before returning control. */ exportReturn_ErrCodecBadInput, // a video codec refused the input format exportReturn_ErrLastErrorSet, // the Exporter had an error and set a display string for it using the PrSDKErrorSuite. exportReturn_ErrLastWarningSet, // the Exporter had an warning and set a display string for it using the PrSDKErrorSuite. exportReturn_ErrLastInfoSet, // the Exporter has an info string to display and set it using the PrSDKErrorSuite. exportReturn_ErrExceedsMaxFormatDuration, // the Exporter (or the host) has deemed the duration of the compile to be too large exportReturn_VideoCodecNeedsActivation, // the current video codec is not activated and cannot be used. exportReturn_AudioCodecNeedsActivation, // the current audio codec is not activated and cannot be used. exportReturn_IncompatibleAudioChannelType, // the requested audio channels are not compatible with the source audio exportReturn_Unsupported = -100 // Unsupported selector }; Obviously, this wasn't the right way to add these new return values.
... View more