description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: ISupportErrorInfoImpl Class |
ISupportErrorInfoImpl Class |
06/13/2019 |
|
|
e33a4b11-a123-41cf-bcea-7b19743902af |
This class provides a default implementation of the ISupportErrorInfo Interface and can be used when only a single interface generates errors on an object.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
template<const IID* piid>
class ATL_NO_VTABLE ISupportErrorInfoImpl
: public ISupportErrorInfo
piid
A pointer to the IID of an interface that supports IErrorInfo.
Name | Description |
---|---|
ISupportErrorInfoImpl::InterfaceSupportsErrorInfo | Indicates whether the interface identified by riid supports the IErrorInfo interface. |
The ISupportErrorInfo Interface ensures that error information can be returned to the client. Objects that use IErrorInfo
must implement ISupportErrorInfo
.
Class ISupportErrorInfoImpl
provides a default implementation of ISupportErrorInfo
and can be used when only a single interface generates errors on an object. For example:
[!code-cppNVC_ATL_COM#48]
ISupportErrorInfo
ISupportErrorInfoImpl
Header: atlcom.h
Indicates whether the interface identified by riid
supports the IErrorInfo interface.
STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
See ISupportErrorInfo::InterfaceSupportsErrorInfo in the Windows SDK.