Microsoft DirectX 9.0

IAMExtendedErrorInfo Interface

The IAMExtendedErrorInfo interface is used to obtain error information.

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.


Requires Qnetwork.h. To define the interface identifier, include Initguid.h before Qnetwork.h, but after Dshow.h:

#include <dshow.h>
#include <initguid.h>
#include <qnetwork.h>

Make sure that Initguid.h gets included only once in your project.