LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
ErrorCode Enumeration
See Also  
Leadtools.Multimedia Namespace : ErrorCode Enumeration



The list of error codes for generic collection thrown exceptions.

Syntax

Visual Basic (Declaration) 
Public Enum ErrorCode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As ErrorCode
C# 
public enum ErrorCode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class ErrorCode : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
E_EVAL_EXPIREDThe evaluation period for the filter has expired.
E_FAILFailure.
E_INVALIDARGArgument is invalid.
E_NOTIMPLMethod is not supported.
E_OUTOFMEMORYInsufficient memory.
E_POINTERNULL pointer argument.
E_PROP_ID_UNSUPPORTEDThe property is not supported.
E_PROP_SET_UNSUPPORTEDSetting of the property is not supported.
E_SHARING_VIOLATIONThe output file is in use.
E_UNEXPECTEDUnexpected error.
LTMM_E_DISABLEDThis feature is disabled
LTMM_E_INVALID_DATAInvalid data
LTMM_E_INVALID_HEADERInvalid packed data
LTMM_E_INVALID_VERSIONThis version is not supported
LTMM_E_STILLIMAGE_LOCKEDThe LEADTOOLS still image toolkit needs to be unlocked
NOERRORNo error. Numerically equivalent to S_OK.
S_FALSESuccess. Condition was FALSE.
S_OKSuccess. Numerically equivalent to NOERROR.
STG_E_PATHNOTFOUNDPath not found.
VFW_E_ADVISE_ALREADY_SETAn IOverlay advise link already exists.
VFW_E_ALREADY_CANCELLEDThe queued command was already canceled.
VFW_E_ALREADY_COMMITTEDCannot change allocated memory while the filter is active.
VFW_E_ALREADY_CONNECTEDAt least one of the pins involved in the operation is already connected.
VFW_E_BAD_KEYA registry entry is corrupt.
VFW_E_BAD_VIDEOCDThe Video CD can't be read correctly by the device or the data is corrupt.
VFW_E_BADALIGNAn invalid alignment was specified.
VFW_E_BUFFER_NOTSETNo buffer space has been set.
VFW_E_BUFFER_OVERFLOWThe buffer is not big enough.
VFW_E_BUFFER_UNDERFLOWThe buffer is not full enough.
VFW_E_BUFFERS_OUTSTANDINGOne or more buffers are still active.
VFW_E_CANNOT_CONNECTNo combination of intermediate filters could be found to make the connection.
VFW_E_CANNOT_LOAD_SOURCE_FILTERThe source filter for this file could not be loaded.
VFW_E_CANNOT_RENDERNo combination of filters could be found to render the stream.
VFW_E_CERTIFICATION_FAILUREUse of this filter is restricted by a software key. The application must unlock the filter.
VFW_E_CHANGING_FORMATCould not change formats dynamically.
VFW_E_CIRCULAR_GRAPHThe filter graph is circular.
VFW_E_COLOR_KEY_SETSetting a palette would conflict with the color key already set.
VFW_E_CORRUPT_GRAPH_FILECannot render the file because it is corrupt.
VFW_E_DDRAW_CAPS_NOT_SUITABLEEither Microsoft DirectDraw has not been installed or the video card capabilities are not suitable. Make sure the display is not in 16-color mode.
VFW_E_DUPLICATE_NAMEAn attempt to add a filter with a duplicate name failed.
VFW_E_DVD_DECNOTENOUGHDVD-Video playback graph could not be built due to insufficient decoders.
VFW_E_DVD_GRAPHNOTREADYDVD-Video playback graph has not been built yet.
VFW_E_DVD_INVALIDDOMAINThis operation is not permitted in the current domain.
VFW_E_DVD_NO_BUTTONRequested button is not available.
VFW_E_DVD_NOT_IN_KARAOKE_MODEThe DVD Navigator is not in karaoke mode.
VFW_E_DVD_OPERATION_INHIBITEDThis user operation is inhibited by DVD content at this time.
VFW_E_DVD_RENDERFAILDVD-Video playback graph building failed.
VFW_E_ENUM_OUT_OF_RANGEThe list has already been exhausted.
VFW_E_ENUM_OUT_OF_SYNCThe state of the enumerated object has changed and is now inconsistent with the state of the enumerator. Discard any data obtained from previous calls to the enumerator and then update the enumerator by calling the enumerator's Reset method.
VFW_E_FILE_TOO_SHORTA file appeared to be incomplete.
VFW_E_FILTER_ACTIVEOperation cannot be performed because the filter is active.
VFW_E_FRAME_STEP_UNSUPPORTEDFrame stepping is not supported.
VFW_E_IN_FULLSCREEN_MODECannot call IVideoWindow methods while in full-screen mode.
VFW_E_INVALID_CLSIDThis file is corrupt: it contains an invalid class identifier.
VFW_E_INVALID_DIRECTIONTwo pins of the same direction cannot be connected.
VFW_E_INVALID_FILE_FORMATThe file format is invalid.
VFW_E_INVALID_FILE_VERSIONThe file's version number is invalid.
VFW_E_INVALID_MEDIA_TYPEThis file is corrupt: it contains an invalid media type.
VFW_E_INVALID_RECTThe supplied rectangle is invalid.
VFW_E_INVALIDMEDIATYPESpecified media type is invalid.
VFW_E_INVALIDSUBTYPESpecified media subtype is invalid.
VFW_E_MEDIA_TIME_NOT_SETNo media time was set for this sample.
VFW_E_MONO_AUDIO_HWCannot change balance because audio device is monaural only.
VFW_E_MPEG_NOT_CONSTRAINEDDirectShow cannot play this video stream because it falls outside the constrained standard.
VFW_E_NEED_OWNERThis object can only be created as an aggregated object.
VFW_E_NO_ACCEPTABLE_TYPESNo common media type between these pins.
VFW_E_NO_ADVISE_SETThis advise cannot be canceled because it was not successfully set.
VFW_E_NO_ALLOCATORNo sample buffer allocator is available.
VFW_E_NO_AUDIO_HARDWARECannot play back the audio stream: No audio hardware is available, or the hardware is not supported.
VFW_E_NO_CAPTURE_HARDWARENo capture hardware is available, or the hardware is not responding.
VFW_E_NO_CLOCKCannot lock for synchronization because no clock has been defined.
VFW_E_NO_COLOR_KEY_FOUNDNo matching color key is available.
VFW_E_NO_COLOR_KEY_SETNo color key has been set.
VFW_E_NO_DECOMPRESSORCannot play back the video stream: Could not find a suitable decompressor.
VFW_E_NO_DISPLAY_PALETTEDisplay does not use a palette.
VFW_E_NO_FULLSCREENFull-screen mode is not available.
VFW_E_NO_INTERFACEA required interface has not been implemented.
VFW_E_NO_MODEX_AVAILABLENo full-screen modes are available.
VFW_E_NO_PALETTE_AVAILABLENo palette is available.
VFW_E_NO_SINKQuality messages could not be sent because no quality sink has been defined.
VFW_E_NO_TIME_FORMATCannot access the time format on an object.
VFW_E_NO_TIME_FORMAT_SETNo media time format was selected.
VFW_E_NO_TRANSPORTPins cannot connect because they don't support the same transport.
VFW_E_NO_TYPESOne of the specified pins does not support media types.
VFW_E_NO_VP_HARDWARENo video port hardware is available, or the hardware is not responding.
VFW_E_NOT_ALLOWED_TO_SAVEUpdates are not allowed in this state.
VFW_E_NOT_COMMITTEDCannot allocate a sample when the allocator is not active.
VFW_E_NOT_CONNECTEDOperation cannot be performed because the pins are not connected.
VFW_E_NOT_FOUNDAn object or name was not found.
VFW_E_NOT_IN_GRAPHCannot perform the requested function on an object that is not in the filter graph.
VFW_E_NOT_OVERLAY_CONNECTIONCurrent pin connection is not using the IOverlay transport.
VFW_E_NOT_PAUSEDThe operation could not be performed because the filter is not paused.
VFW_E_NOT_RUNNINGThe operation could not be performed because the filter is not running.
VFW_E_NOT_SAMPLE_CONNECTIONCurrent pin connection is not using the IMemInputPin transport.
VFW_E_NOT_STOPPEDThe operation could not be performed because the filter is not stopped.
VFW_E_OUT_OF_VIDEO_MEMORYThere is not enough video memory at this display resolution and number of colors. Reducing resolution might help.
VFW_E_PALETTE_SETSetting a color key would conflict with the palette already set.
VFW_E_PIN_ALREADY_BLOCKEDPin is already blocked on another thread.
VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREADPin is already blocked on the calling thread.
VFW_E_PROCESSOR_NOT_SUITABLEDirectShow cannot play MPEG movies on this processor.
VFW_E_READ_ONLYCould not make the connection because the stream is read-only and the filter alters the data.
VFW_E_RPZACannot play back the video stream: Format 'RPZA' is not supported.
VFW_E_RUNTIME_ERRORA run-time error occurred.
VFW_E_SAMPLE_REJECTEDThis sample cannot be rendered.
VFW_E_SAMPLE_REJECTED_EOSThis sample cannot be rendered because the end of the stream has been reached.
VFW_E_SAMPLE_TIME_NOT_SETNo time stamp has been set for this sample.
VFW_E_SIZENOTSETCannot allocate memory because no size has been set.
VFW_E_START_TIME_AFTER_ENDThe sample start time is after the sample end time.
VFW_E_STATE_CHANGEDThe state changed while waiting to process the sample.
VFW_E_TIME_ALREADY_PASSEDAn attempt was made to queue a command for a time in the past.
VFW_E_TIMEOUTA time-out has expired.
VFW_E_TOO_MANY_COLORSToo many colors for the current display settings.
VFW_E_TYPE_NOT_ACCEPTEDThis pin cannot use the supplied media type.
VFW_E_UNKNOWN_FILE_TYPEThe media type of this file is not recognized.
VFW_E_UNSUPPORTED_AUDIOCannot play back the audio stream: the audio format is not supported.
VFW_E_UNSUPPORTED_STREAMCannot play back the file: the format is not supported.
VFW_E_UNSUPPORTED_VIDEOCannot play back the video stream: the video format is not supported.
VFW_E_VP_NEGOTIATION_FAILEDThe video port connection negotiation process has failed.
VFW_E_WRONG_STATEThe operation could not be performed because the filter is in the wrong state.
VFW_S_AUDIO_NOT_RENDEREDCould not find a suitable renderer. Cannot play back the audio stream The portion of the file holding the audio data. The audio data might be compressed to save disk space. The data has to be decompressed using an audio decompressor before you can play (hear) it.
VFW_S_CANT_CUEThe filter is active, but cannot deliver data. See IMediaFilter.GetState in your SDK.
VFW_S_CONNECTIONS_DEFERREDSome connections failed and were deferred.
VFW_S_DUPLICATE_NAMEAn attempt to add a filter with a duplicate name succeeded with a modified name.
VFW_S_ESTIMATEDThe value returned had to be estimated. Its accuracy can't be guaranteed.
VFW_S_MEDIA_TYPE_IGNOREDCould not connect with the media type in the persistent graph.
VFW_S_NO_STOP_TIMEThe sample had a start time but not a stop time. In this case, the stop time that is returned is set to the start time plus one.
VFW_S_PARTIAL_RENDERSome of the streams in this movie are in an unsupported format.
VFW_S_RESERVEDThis success code is reserved for internal purposes within DirectShow.
VFW_S_RESOURCE_NOT_NEEDEDThe resource specified is no longer needed.
VFW_S_RPZACannot play back the video stream: format 'RPZA' is not supported.
VFW_S_SOME_DATA_IGNOREDThe file contained some property settings that were not used.
VFW_S_STATE_INTERMEDIATEThe state transition is not complete.
VFW_S_STREAM_OFFThe stream was turned off.
VFW_S_VIDEO_NOT_RENDEREDCould not find a suitable renderer. Cannot play back the video stream The portion of the file holding the video data. The video data might be compressed to save disk space. The data has to be decompressed using a video decompressor before you can play (see) it.

Remarks

The LEADTOOLS Multimedia toolkit returns error and success notifications to applications in the form of HRESULT values. A return code's LOWORD portion is the return code itself, in hexadecimal format.

The COM Win32 HRESULT documentation contains more information, including how to use the FAILED and SUCCEEDED macros to test return values.

Microsoft Visual Basic programmers will see only the decimal equivalent of the error code's first 16-bit portion. This value appears in an error notification dialog box or in the Err object as a run-time error.

If the error is not in the following list, you must convert the decimal number to its hexadecimal equivalent, and then look for the error as described previously. Note that the error's hexadecimal version will be a maximum of four digits long; to find the error, match the last four digits of the hexadecimal code in the error code list to the converted run-time error.

The LEADTOOLS Multimedia filters will return E_EVAL_EXPIRED (0x80050010) if you attempt to create them after the evaluation period has expired.

The LEADTOOLS Multimedia toolkit functions will often return error codes native to DirectShow. Please refer to the Microsoft DirectX SDK for specific information about DirectShow error codes.

Some Multimedia components, such as the DVD Writer, will convert DOS error codes to 0x8003zzzz, where "zzzz" is the error code. For example, the DOS error code ERROR_PATH_NOT_FOUND (0x03) is converted to 0x80030003. For a complete list, see the GetLastError function in the Microsoft Platform SDK documentation.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Multimedia.ErrorCode

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also