IAMExtendedErrorInfo interface (qnetwork.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IAMExtendedErrorInfo interface is used to obtain error information.

Note  This interface is not implemented by any default components in DirectShow.
 

Inheritance

The IAMExtendedErrorInfo interface inherits from the IDispatch interface. IAMExtendedErrorInfo also has these types of members:

Methods

The IAMExtendedErrorInfo interface has these methods.

 
IAMExtendedErrorInfo::get_ErrorCode

The get_ErrorCode method retrieves the current error code.
IAMExtendedErrorInfo::get_ErrorDescription

The get_ErrorDescription method retrieves the extended error description.
IAMExtendedErrorInfo::get_HasError

The get_HasError method queries whether an error occurred.

Remarks

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.
 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header qnetwork.h

See also

IDispatch

Interfaces