IAMExtendedErrorInfo Interface
Microsoft DirectShow 9.0 |
IAMExtendedErrorInfo Interface
The IAMExtendedErrorInfo interface is used to obtain error information. This interface is not implemented by any default components in DirectShow.
In addition to the methods inherited from IDispatch, the IAMExtendedErrorInfo interface exposes the following methods.
Method | Description |
get_ErrorCode | Retrieves the current error code. |
get_ErrorDescription | Retrieves the error description. |
get_HasError | Queries whether an error occurred. |
Requirements
Header: Include Qnetwork.h.
Library: None.
To define the interface identifier, include the header file Initguid.h before Qnetwork.h, but after Dshow.h and other header files:
#include <dshow.h> #include <initguid.h> #include <qnetwork.h>
- Note Make sure that Initguid.h is included only once in your project. Otherwise, you will receive linker errors for duplicate GUID values.