←Select platform

ErrorCode Enumeration

Summary

The list of error codes for generic collection thrown exceptions.

Syntax

C#
VB
C++
public enum ErrorCode   
Public Enum ErrorCode  
    
    
public enum class ErrorCode   

Members

ValueMemberDescription
-2147467263E_NOTIMPL Method is not supported.
-2147467261E_POINTER NULL pointer argument.
-2147467259E_FAIL Failure.
-2147418113E_UNEXPECTED Unexpected error.
-2147287037STG_E_PATHNOTFOUND Path not found.
-2147220992VFW_E_INVALIDMEDIATYPE Specified media type is invalid.
-2147220991VFW_E_INVALIDSUBTYPE Specified media subtype is invalid.
-2147220990VFW_E_NEED_OWNER This object can only be created as an aggregated object.
-2147220989VFW_E_ENUM_OUT_OF_SYNC The 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.
-2147220988VFW_E_ALREADY_CONNECTED At least one of the pins involved in the operation is already connected.
-2147220987VFW_E_FILTER_ACTIVE Operation cannot be performed because the filter is active.
-2147220986VFW_E_NO_TYPES One of the specified pins does not support media types.
-2147220985VFW_E_NO_ACCEPTABLE_TYPES No common media type between these pins.
-2147220984VFW_E_INVALID_DIRECTION Two pins of the same direction cannot be connected.
-2147220983VFW_E_NOT_CONNECTED Operation cannot be performed because the pins are not connected.
-2147220982VFW_E_NO_ALLOCATOR No sample buffer allocator is available.
-2147220981VFW_E_RUNTIME_ERROR A run-time error occurred.
-2147220980VFW_E_BUFFER_NOTSET No buffer space has been set.
-2147220979VFW_E_BUFFER_OVERFLOW The buffer is not big enough.
-2147220978VFW_E_BADALIGN An invalid alignment was specified.
-2147220977VFW_E_ALREADY_COMMITTED Cannot change allocated memory while the filter is active.
-2147220976VFW_E_BUFFERS_OUTSTANDING One or more buffers are still active.
-2147220975VFW_E_NOT_COMMITTED Cannot allocate a sample when the allocator is not active.
-2147220974VFW_E_SIZENOTSET Cannot allocate memory because no size has been set.
-2147220973VFW_E_NO_CLOCK Cannot lock for synchronization because no clock has been defined.
-2147220972VFW_E_NO_SINK Quality messages could not be sent because no quality sink has been defined.
-2147220971VFW_E_NO_INTERFACE A required interface has not been implemented.
-2147220970VFW_E_NOT_FOUND An object or name was not found.
-2147220969VFW_E_CANNOT_CONNECT No combination of intermediate filters could be found to make the connection.
-2147220968VFW_E_CANNOT_RENDER No combination of filters could be found to render the stream.
-2147220967VFW_E_CHANGING_FORMAT Could not change formats dynamically.
-2147220966VFW_E_NO_COLOR_KEY_SET No color key has been set.
-2147220965VFW_E_NOT_OVERLAY_CONNECTION Current pin connection is not using the IOverlay transport.
-2147220964VFW_E_NOT_SAMPLE_CONNECTION Current pin connection is not using the IMemInputPin transport.
-2147220963VFW_E_PALETTE_SET Setting a color key would conflict with the palette already set.
-2147220962VFW_E_COLOR_KEY_SET Setting a palette would conflict with the color key already set.
-2147220961VFW_E_NO_COLOR_KEY_FOUND No matching color key is available.
-2147220960VFW_E_NO_PALETTE_AVAILABLE No palette is available.
-2147220959VFW_E_NO_DISPLAY_PALETTE Display does not use a palette.
-2147220958VFW_E_TOO_MANY_COLORS Too many colors for the current display settings.
-2147220957VFW_E_STATE_CHANGED The state changed while waiting to process the sample.
-2147220956VFW_E_NOT_STOPPED The operation could not be performed because the filter is not stopped.
-2147220955VFW_E_NOT_PAUSED The operation could not be performed because the filter is not paused.
-2147220954VFW_E_NOT_RUNNING The operation could not be performed because the filter is not running.
-2147220953VFW_E_WRONG_STATE The operation could not be performed because the filter is in the wrong state.
-2147220952VFW_E_START_TIME_AFTER_END The sample start time is after the sample end time.
-2147220951VFW_E_INVALID_RECT The supplied rectangle is invalid.
-2147220950VFW_E_TYPE_NOT_ACCEPTED This pin cannot use the supplied media type.
-2147220949VFW_E_SAMPLE_REJECTED This sample cannot be rendered.
-2147220948VFW_E_SAMPLE_REJECTED_EOS This sample cannot be rendered because the end of the stream has been reached.
-2147220947VFW_E_DUPLICATE_NAME An attempt to add a filter with a duplicate name failed.
-2147220946VFW_E_TIMEOUT A time-out has expired.
-2147220945VFW_E_INVALID_FILE_FORMAT The file format is invalid.
-2147220944VFW_E_ENUM_OUT_OF_RANGE The list has already been exhausted.
-2147220943VFW_E_CIRCULAR_GRAPH The filter graph is circular.
-2147220942VFW_E_NOT_ALLOWED_TO_SAVE Updates are not allowed in this state.
-2147220941VFW_E_TIME_ALREADY_PASSED An attempt was made to queue a command for a time in the past.
-2147220940VFW_E_ALREADY_CANCELLED The queued command was already canceled.
-2147220939VFW_E_CORRUPT_GRAPH_FILE Cannot render the file because it is corrupt.
-2147220938VFW_E_ADVISE_ALREADY_SET An IOverlay advise link already exists.
-2147220936VFW_E_NO_MODEX_AVAILABLE No full-screen modes are available.
-2147220935VFW_E_NO_ADVISE_SET This advise cannot be canceled because it was not successfully set.
-2147220934VFW_E_NO_FULLSCREEN Full-screen mode is not available.
-2147220933VFW_E_IN_FULLSCREEN_MODE Cannot call IVideoWindow methods while in full-screen mode.
-2147220928VFW_E_UNKNOWN_FILE_TYPE The media type of this file is not recognized.
-2147220927VFW_E_CANNOT_LOAD_SOURCE_FILTER The source filter for this file could not be loaded.
-2147220925VFW_E_FILE_TOO_SHORT A file appeared to be incomplete.
-2147220924VFW_E_INVALID_FILE_VERSION The file's version number is invalid.
-2147220921VFW_E_INVALID_CLSID This file is corrupt: it contains an invalid class identifier.
-2147220920VFW_E_INVALID_MEDIA_TYPE This file is corrupt: it contains an invalid media type.
-2147220919VFW_E_SAMPLE_TIME_NOT_SET No time stamp has been set for this sample.
-2147220911VFW_E_MEDIA_TIME_NOT_SET No media time was set for this sample.
-2147220910VFW_E_NO_TIME_FORMAT_SET No media time format was selected.
-2147220909VFW_E_MONO_AUDIO_HW Cannot change balance because audio device is monaural only.
-2147220907VFW_E_NO_DECOMPRESSOR Cannot play back the video stream: Could not find a suitable decompressor.
-2147220906VFW_E_NO_AUDIO_HARDWARE Cannot play back the audio stream: No audio hardware is available, or the hardware is not supported.
-2147220903VFW_E_RPZA Cannot play back the video stream: Format 'RPZA' is not supported.
-2147220901VFW_E_PROCESSOR_NOT_SUITABLE DirectShow cannot play MPEG movies on this processor.
-2147220900VFW_E_UNSUPPORTED_AUDIO Cannot play back the audio stream: the audio format is not supported.
-2147220899VFW_E_UNSUPPORTED_VIDEO Cannot play back the video stream: the video format is not supported.
-2147220898VFW_E_MPEG_NOT_CONSTRAINED DirectShow cannot play this video stream because it falls outside the constrained standard.
-2147220897VFW_E_NOT_IN_GRAPH Cannot perform the requested function on an object that is not in the filter graph.
-2147220895VFW_E_NO_TIME_FORMAT Cannot access the time format on an object.
-2147220894VFW_E_READ_ONLY Could not make the connection because the stream is read-only and the filter alters the data.
-2147220892VFW_E_BUFFER_UNDERFLOW The buffer is not full enough.
-2147220891VFW_E_UNSUPPORTED_STREAM Cannot play back the file: the format is not supported.
-2147220890VFW_E_NO_TRANSPORT Pins cannot connect because they don't support the same transport.
-2147220887VFW_E_BAD_VIDEOCD The Video CD can't be read correctly by the device or the data is corrupt.
-2147220880VFW_S_NO_STOP_TIME The 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.
-2147220879VFW_E_OUT_OF_VIDEO_MEMORY There is not enough video memory at this display resolution and number of colors. Reducing resolution might help.
-2147220878VFW_E_VP_NEGOTIATION_FAILED The video port connection negotiation process has failed.
-2147220877VFW_E_DDRAW_CAPS_NOT_SUITABLE Either Microsoft DirectDraw has not been installed or the video card capabilities are not suitable. Make sure the display is not in 16-color mode.
-2147220876VFW_E_NO_VP_HARDWARE No video port hardware is available, or the hardware is not responding.
-2147220875VFW_E_NO_CAPTURE_HARDWARE No capture hardware is available, or the hardware is not responding.
-2147220874VFW_E_DVD_OPERATION_INHIBITED This user operation is inhibited by DVD content at this time.
-2147220873VFW_E_DVD_INVALIDDOMAIN This operation is not permitted in the current domain.
-2147220872VFW_E_DVD_NO_BUTTON Requested button is not available.
-2147220871VFW_E_DVD_GRAPHNOTREADY DVD-Video playback graph has not been built yet.
-2147220870VFW_E_DVD_RENDERFAIL DVD-Video playback graph building failed.
-2147220869VFW_E_DVD_DECNOTENOUGH DVD-Video playback graph could not be built due to insufficient decoders.
-2147220853VFW_E_DVD_NOT_IN_KARAOKE_MODE The DVD Navigator is not in karaoke mode.
-2147220850VFW_E_FRAME_STEP_UNSUPPORTED Frame stepping is not supported.
-2147220845VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD Pin is already blocked on the calling thread.
-2147220844VFW_E_PIN_ALREADY_BLOCKED Pin is already blocked on another thread.
-2147220843VFW_E_CERTIFICATION_FAILURE Use of this filter is restricted by a software key. The application must unlock the filter.
-2147220494VFW_E_BAD_KEY A registry entry is corrupt.
-2147155952E_EVAL_EXPIRED The evaluation period for the filter has expired.
-2147155949LTMM_E_INVALID_DATA Invalid data.
-2147155948LTMM_E_INVALID_HEADER Invalid packed data.
-2147155947LTMM_E_DISABLED This feature is disabled.
-2147155946LTMM_E_INVALID_VERSION This version is not supported.
-2147155945LTMM_E_STILLIMAGE_LOCKED The LEADTOOLS still image toolkit needs to be unlocked.
-2147155942LTMM_E_STILLIMAGE_MISSING One or more raster LEADTOOLS modules are missing.
-2147155941LTMM_E_BADURL_OPTIONS The options passed in the URL are invalid.
-2147155939LTMM_E_LOGGING_NOT_STARTED Logging needs to be started to call this method.
-2147155937LTMM_E_CUDA_FAILED_CREATE_HWENCODER failed to create CUDA Hardware Encoder.
-2147155936LTMM_E_DVR_DISCARDED_DATA You are trying to read discarded data.
-2147155935LTMM_E_DVR_NO_RECORDINGS There are no recordings in the stub file.
-2147155934LTMM_E_DVR_CORRUPT_STUB_FILE The stub file is corrupt.
-2147155933LTMM_E_DVR_STOPPED The DVR has stopped writing data.
-2147155931LTMM_E_DVR_CHANGING_ATTRIBUTES The DVR sink is changing attributes.
-2147155930LTMM_E_DVR_SUSPENDED Reading for current sample is temporarily suspended.
-2147155929LTMM_E_DVR_RECORDINGINUSE The recording I am trying to create is in use.
-2147155920LTMM_E_RTSP_PARSING_STREAM An error has occurred parsing the stream description.
-2147155919LTMM_E_RTSP_DESCRIBE_FAILED The DESCRIBE RTSP command has failed.
-2147155918LTMM_E_RTSP_SETUP_FAILED The SETUP RTSP command has failed.
-2147155917LTMM_E_RTSP_PLAY_FAILED The PLAY RTSP command has failed.
-2147155916LTMM_E_RTSP_PAUSE_FAILED The PAUSE RTSP command has failed.
-2147155915LTMM_E_RTSP_TEARDOWN_FAILED The TEARDOWN RTSP command has failed.
-2147155914LTMM_E_RTSP_OPTIONS_FAILED The OPTIONS RTSP command has failed.
-2147155913LTMM_E_RTSP_UNAUTHORIZED The command failed due to bad username and/or password.
-2147155912LTMM_E_RTSP_RECONNECT Internal use - reconnect to the server.
-2147155911LTMM_E_RTSP_URL_NOT_FOUND The RTSP server does not contain this URL.
-2147155910LTMM_E_RTSP_BAD_MEDIATYPE The RTSP server is unable of streaming this type of file. This error is generated by the server, not the LEAD filter.
-2147155909LTMM_E_BAD_MULTICAST_ADDRESS The RTSP server did not choose a valid multicast address.
-2147155908LTMM_E_BAD_URL_OPTION One of the options passed through the URL (eg: transport) is invalid.
-2147155907LTMM_E_BAD_INTERLEAVE_OPTION The RTSP server did assign a valid interleave option.
-2147155906LTMM_E_HTTP_GET_FAILED The HTTP GET command has failed - the RTSP server probably does not support the HTTP mode.
-2147155905LTMM_E_SERVER_NOT_RESPONDING The server is not responding. A reconnection is advisable.
-2147155904LTMM_E_ITEM_NOT_FOUND The item was not found.
-2147155903LTMM_E_TOO_MANY_CONNECTIONS The maximum number of connections has been exceeded.
-2147155902LTMM_E_NO_MEDIA No media handler is available.
-2147155901LTMM_E_BAD_COMMAND Bad RTSP Command.
-2147155900LTMM_E_MEDIA_NOT_SUPPORTED This media is not supported.
-2147155899LTMM_E_FIELD_NOT_FOUND The field was not found.
-2147155898LTMM_E_SESSION_NOT_FOUND The RTSP session was not found.
-2147155897LTMM_E_OPTION_NOT_SUPPORTED The RTSP option is not supported.
-2147155895LTMM_E_USER_EXISTS A user already exists with a different password.
-2147155894LTMM_E_AUTHENTICATION_REQUIRED Authentication is required.
-2147155893LTMM_E_RETRY_OTHER_TRANSPORT Internal - retry connection with a different transport.
-2147155888LTMM_E_CUDA_DEVICE_NOT_AVAILABLE CUDA device is not available.
-2147155887LTMM_E_SSE4_NOT_AVAILABLE This filter/operation requires processors with SSE4 capabilities.
-2147155886LTMM_E_ABORT_WAIT_RESET_SOURCE The wait for data operation was aborted because ResetSource was called while waiting for data.
-2147155885LTMM_E_ABORT_WAIT_STOP The wait for data operation was aborted because Stop was called while waiting for data.
-2147155884LTMM_E_NO_SAMPLE_RETRY Internal H264 decoder error.
-2147155882LTMM_E_CUDA_OLD_VERSION The CUDA engine is too old. Install a newer version of the display driver.
-2147155881LTMM_E_CUDA_ERROR An unspecified CUDA error has occurred.
-2147098624LTMM_E_DICOM_ERROR_FIRST The interval LTMM_E_DICOM_ERROR_FIRST .. LTMM_E_DICOM_ERROR_LAST interval is used to return a LEADTOOLS DICOM error. Unlike LEADTOOLS still image errors, DICOM errors are positive. The error is (<HRESULT_CODE> - LTMM_E_DICOM_ERROR_FIRST). The error code range is 0x8005E000 - 0x800EFFF. So, if the error is 0x8005E002, then the LEADTOOLS DICOM error is '-2' (not enough memory).
-2147094529LTMM_E_DICOM_ERROR_LAST Last DICOM error. See LTMM_E_DICOM_ERROR_FIRST for more details.
-2147094528LTMM_E_STILLIMAGE_ERROR_FIRST The interval LTMM_E_STILLIMAGE_ERROR_FIRST .. LTMM_E_STILLIMAGE_ERROR_LAST interval is used to return a LEADTOOLS still image error code. The error is (<HRESULT_CODE> - LTMM_E_STILLIMAGE_ERROR_FIRST). The error code range is 0x8005F000 - 0x8005FFF. So, if the HRESULT is 0x8005F009, then the LEADTOOLS error is '-9' (error loading file).
-2147090433LTMM_E_STILLIMAGE_ERROR_LAST Last Still Image error. See LTMM_E_STILLIMAGE_ERROR_FIRST for more details.
-2147024882E_OUTOFMEMORY Insufficient memory.
-2147024864E_SHARING_VIOLATION The output file is in use.
-2147024809E_INVALIDARG Argument is invalid.
-2147023728E_PROP_ID_UNSUPPORTED The property is not supported.
-2147023726E_PROP_SET_UNSUPPORTED Setting of the property is not supported.
0S_OK Success. Numerically equivalent to NOERROR.
0NOERROR No error. Numerically equivalent to S_OK.
1S_FALSE Success. Condition was FALSE.
262701VFW_S_DUPLICATE_NAME An attempt to add a filter with a duplicate name succeeded with a modified name.
262711VFW_S_STATE_INTERMEDIATE The state transition is not complete.
262722VFW_S_PARTIAL_RENDER Some of the streams in this movie are in an unsupported format.
262725VFW_S_SOME_DATA_IGNORED The file contained some property settings that were not used.
262726VFW_S_CONNECTIONS_DEFERRED Some connections failed and were deferred.
262736VFW_S_RESOURCE_NOT_NEEDED The resource specified is no longer needed.
262740VFW_S_MEDIA_TYPE_IGNORED Could not connect with the media type in the persistent graph.
262743VFW_S_VIDEO_NOT_RENDERED Could 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.
262744VFW_S_AUDIO_NOT_RENDERED Could 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.
262746VFW_S_RPZA Cannot play back the video stream: format 'RPZA' is not supported.
262752VFW_S_ESTIMATED The value returned had to be estimated. Its accuracy can't be guaranteed.
262755VFW_S_RESERVED This success code is reserved for internal purposes within DirectShow.
262759VFW_S_STREAM_OFF The stream was turned off.
262760VFW_S_CANT_CUE The filter is active, but cannot deliver data. See IMediaFilter.GetState in your SDK.
327708LTMM_S_PREROLL The Preroll sample was not delivered (Internal use).
327710LTMM_S_LOW_MEMORY_MODE Just switched to low memory mode. All buffering will be dumped to disk from now on.
327716LTMM_S_DVR_WAITING The DVR source is waiting for data to be written to disk.
327752LTMM_S_RESPONSE_PENDING The response to the RTSP command has been sent or will be sent later.
327765LTMM_S_WRONG_STATE The change was successful, but will take effect the next time you run the graph.
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 VB 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.

Requirements

Target Platforms

See Also

Reference

Leadtools.Multimedia Namespace

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly