Visual Basic (Declaration) | |
---|---|
Public Enum ErrorCode Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ErrorCode |
C# | |
---|---|
public enum ErrorCode : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
public enum class ErrorCode : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
E_EVAL_EXPIRED | The evaluation period for the filter has expired. |
E_FAIL | Failure. |
E_INVALIDARG | Argument is invalid. |
E_NOTIMPL | Method is not supported. |
E_OUTOFMEMORY | Insufficient memory. |
E_POINTER | NULL pointer argument. |
E_PROP_ID_UNSUPPORTED | The property is not supported. |
E_PROP_SET_UNSUPPORTED | Setting of the property is not supported. |
E_SHARING_VIOLATION | The output file is in use. |
E_UNEXPECTED | Unexpected error. |
LTMM_E_DISABLED | This feature is disabled |
LTMM_E_INVALID_DATA | Invalid data |
LTMM_E_INVALID_HEADER | Invalid packed data |
LTMM_E_INVALID_VERSION | This version is not supported |
LTMM_E_STILLIMAGE_LOCKED | The LEADTOOLS still image toolkit needs to be unlocked |
NOERROR | No error. Numerically equivalent to S_OK. |
S_FALSE | Success. Condition was FALSE. |
S_OK | Success. Numerically equivalent to NOERROR. |
STG_E_PATHNOTFOUND | Path not found. |
VFW_E_ADVISE_ALREADY_SET | An IOverlay advise link already exists. |
VFW_E_ALREADY_CANCELLED | The queued command was already canceled. |
VFW_E_ALREADY_COMMITTED | Cannot change allocated memory while the filter is active. |
VFW_E_ALREADY_CONNECTED | At least one of the pins involved in the operation is already connected. |
VFW_E_BAD_KEY | A registry entry is corrupt. |
VFW_E_BAD_VIDEOCD | The Video CD can't be read correctly by the device or the data is corrupt. |
VFW_E_BADALIGN | An invalid alignment was specified. |
VFW_E_BUFFER_NOTSET | No buffer space has been set. |
VFW_E_BUFFER_OVERFLOW | The buffer is not big enough. |
VFW_E_BUFFER_UNDERFLOW | The buffer is not full enough. |
VFW_E_BUFFERS_OUTSTANDING | One or more buffers are still active. |
VFW_E_CANNOT_CONNECT | No combination of intermediate filters could be found to make the connection. |
VFW_E_CANNOT_LOAD_SOURCE_FILTER | The source filter for this file could not be loaded. |
VFW_E_CANNOT_RENDER | No combination of filters could be found to render the stream. |
VFW_E_CERTIFICATION_FAILURE | Use of this filter is restricted by a software key. The application must unlock the filter. |
VFW_E_CHANGING_FORMAT | Could not change formats dynamically. |
VFW_E_CIRCULAR_GRAPH | The filter graph is circular. |
VFW_E_COLOR_KEY_SET | Setting a palette would conflict with the color key already set. |
VFW_E_CORRUPT_GRAPH_FILE | Cannot render the file because it is corrupt. |
VFW_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. |
VFW_E_DUPLICATE_NAME | An attempt to add a filter with a duplicate name failed. |
VFW_E_DVD_DECNOTENOUGH | DVD-Video playback graph could not be built due to insufficient decoders. |
VFW_E_DVD_GRAPHNOTREADY | DVD-Video playback graph has not been built yet. |
VFW_E_DVD_INVALIDDOMAIN | This operation is not permitted in the current domain. |
VFW_E_DVD_NO_BUTTON | Requested button is not available. |
VFW_E_DVD_NOT_IN_KARAOKE_MODE | The DVD Navigator is not in karaoke mode. |
VFW_E_DVD_OPERATION_INHIBITED | This user operation is inhibited by DVD content at this time. |
VFW_E_DVD_RENDERFAIL | DVD-Video playback graph building failed. |
VFW_E_ENUM_OUT_OF_RANGE | The list has already been exhausted. |
VFW_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. |
VFW_E_FILE_TOO_SHORT | A file appeared to be incomplete. |
VFW_E_FILTER_ACTIVE | Operation cannot be performed because the filter is active. |
VFW_E_FRAME_STEP_UNSUPPORTED | Frame stepping is not supported. |
VFW_E_IN_FULLSCREEN_MODE | Cannot call IVideoWindow methods while in full-screen mode. |
VFW_E_INVALID_CLSID | This file is corrupt: it contains an invalid class identifier. |
VFW_E_INVALID_DIRECTION | Two pins of the same direction cannot be connected. |
VFW_E_INVALID_FILE_FORMAT | The file format is invalid. |
VFW_E_INVALID_FILE_VERSION | The file's version number is invalid. |
VFW_E_INVALID_MEDIA_TYPE | This file is corrupt: it contains an invalid media type. |
VFW_E_INVALID_RECT | The supplied rectangle is invalid. |
VFW_E_INVALIDMEDIATYPE | Specified media type is invalid. |
VFW_E_INVALIDSUBTYPE | Specified media subtype is invalid. |
VFW_E_MEDIA_TIME_NOT_SET | No media time was set for this sample. |
VFW_E_MONO_AUDIO_HW | Cannot change balance because audio device is monaural only. |
VFW_E_MPEG_NOT_CONSTRAINED | DirectShow cannot play this video stream because it falls outside the constrained standard. |
VFW_E_NEED_OWNER | This object can only be created as an aggregated object. |
VFW_E_NO_ACCEPTABLE_TYPES | No common media type between these pins. |
VFW_E_NO_ADVISE_SET | This advise cannot be canceled because it was not successfully set. |
VFW_E_NO_ALLOCATOR | No sample buffer allocator is available. |
VFW_E_NO_AUDIO_HARDWARE | Cannot play back the audio stream: No audio hardware is available, or the hardware is not supported. |
VFW_E_NO_CAPTURE_HARDWARE | No capture hardware is available, or the hardware is not responding. |
VFW_E_NO_CLOCK | Cannot lock for synchronization because no clock has been defined. |
VFW_E_NO_COLOR_KEY_FOUND | No matching color key is available. |
VFW_E_NO_COLOR_KEY_SET | No color key has been set. |
VFW_E_NO_DECOMPRESSOR | Cannot play back the video stream: Could not find a suitable decompressor. |
VFW_E_NO_DISPLAY_PALETTE | Display does not use a palette. |
VFW_E_NO_FULLSCREEN | Full-screen mode is not available. |
VFW_E_NO_INTERFACE | A required interface has not been implemented. |
VFW_E_NO_MODEX_AVAILABLE | No full-screen modes are available. |
VFW_E_NO_PALETTE_AVAILABLE | No palette is available. |
VFW_E_NO_SINK | Quality messages could not be sent because no quality sink has been defined. |
VFW_E_NO_TIME_FORMAT | Cannot access the time format on an object. |
VFW_E_NO_TIME_FORMAT_SET | No media time format was selected. |
VFW_E_NO_TRANSPORT | Pins cannot connect because they don't support the same transport. |
VFW_E_NO_TYPES | One of the specified pins does not support media types. |
VFW_E_NO_VP_HARDWARE | No video port hardware is available, or the hardware is not responding. |
VFW_E_NOT_ALLOWED_TO_SAVE | Updates are not allowed in this state. |
VFW_E_NOT_COMMITTED | Cannot allocate a sample when the allocator is not active. |
VFW_E_NOT_CONNECTED | Operation cannot be performed because the pins are not connected. |
VFW_E_NOT_FOUND | An object or name was not found. |
VFW_E_NOT_IN_GRAPH | Cannot perform the requested function on an object that is not in the filter graph. |
VFW_E_NOT_OVERLAY_CONNECTION | Current pin connection is not using the IOverlay transport. |
VFW_E_NOT_PAUSED | The operation could not be performed because the filter is not paused. |
VFW_E_NOT_RUNNING | The operation could not be performed because the filter is not running. |
VFW_E_NOT_SAMPLE_CONNECTION | Current pin connection is not using the IMemInputPin transport. |
VFW_E_NOT_STOPPED | The operation could not be performed because the filter is not stopped. |
VFW_E_OUT_OF_VIDEO_MEMORY | There is not enough video memory at this display resolution and number of colors. Reducing resolution might help. |
VFW_E_PALETTE_SET | Setting a color key would conflict with the palette already set. |
VFW_E_PIN_ALREADY_BLOCKED | Pin is already blocked on another thread. |
VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD | Pin is already blocked on the calling thread. |
VFW_E_PROCESSOR_NOT_SUITABLE | DirectShow cannot play MPEG movies on this processor. |
VFW_E_READ_ONLY | Could not make the connection because the stream is read-only and the filter alters the data. |
VFW_E_RPZA | Cannot play back the video stream: Format 'RPZA' is not supported. |
VFW_E_RUNTIME_ERROR | A run-time error occurred. |
VFW_E_SAMPLE_REJECTED | This sample cannot be rendered. |
VFW_E_SAMPLE_REJECTED_EOS | This sample cannot be rendered because the end of the stream has been reached. |
VFW_E_SAMPLE_TIME_NOT_SET | No time stamp has been set for this sample. |
VFW_E_SIZENOTSET | Cannot allocate memory because no size has been set. |
VFW_E_START_TIME_AFTER_END | The sample start time is after the sample end time. |
VFW_E_STATE_CHANGED | The state changed while waiting to process the sample. |
VFW_E_TIME_ALREADY_PASSED | An attempt was made to queue a command for a time in the past. |
VFW_E_TIMEOUT | A time-out has expired. |
VFW_E_TOO_MANY_COLORS | Too many colors for the current display settings. |
VFW_E_TYPE_NOT_ACCEPTED | This pin cannot use the supplied media type. |
VFW_E_UNKNOWN_FILE_TYPE | The media type of this file is not recognized. |
VFW_E_UNSUPPORTED_AUDIO | Cannot play back the audio stream: the audio format is not supported. |
VFW_E_UNSUPPORTED_STREAM | Cannot play back the file: the format is not supported. |
VFW_E_UNSUPPORTED_VIDEO | Cannot play back the video stream: the video format is not supported. |
VFW_E_VP_NEGOTIATION_FAILED | The video port connection negotiation process has failed. |
VFW_E_WRONG_STATE | The operation could not be performed because the filter is in the wrong state. |
VFW_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. |
VFW_S_CANT_CUE | The filter is active, but cannot deliver data. See IMediaFilter.GetState in your SDK. |
VFW_S_CONNECTIONS_DEFERRED | Some connections failed and were deferred. |
VFW_S_DUPLICATE_NAME | An attempt to add a filter with a duplicate name succeeded with a modified name. |
VFW_S_ESTIMATED | The value returned had to be estimated. Its accuracy can't be guaranteed. |
VFW_S_MEDIA_TYPE_IGNORED | Could not connect with the media type in the persistent graph. |
VFW_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. |
VFW_S_PARTIAL_RENDER | Some of the streams in this movie are in an unsupported format. |
VFW_S_RESERVED | This success code is reserved for internal purposes within DirectShow. |
VFW_S_RESOURCE_NOT_NEEDED | The resource specified is no longer needed. |
VFW_S_RPZA | Cannot play back the video stream: format 'RPZA' is not supported. |
VFW_S_SOME_DATA_IGNORED | The file contained some property settings that were not used. |
VFW_S_STATE_INTERMEDIATE | The state transition is not complete. |
VFW_S_STREAM_OFF | The stream was turned off. |
VFW_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. |
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.
System.Object
System.ValueType
System.Enum
Leadtools.Multimedia.ErrorCode
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7