Indicates whether a specific OLE DB interface on the object can return OLE DB error objects.
HRESULT InterfaceSupportsErrorInfo (
REFIID riid);
Parameters
riid
[in]
The IID of the interface in question.
Return Code
S_OK
The interface can return Automation error objects; therefore, it can return OLE DB error objects.
S_FALSE
The interface cannot return Automation error objects; therefore, it cannot return OLE DB error objects.
Comments
InterfaceSupportsErrorInfo is implemented on each OLE DB object that may return an error object, and identifies the interfaces on that object that may generate an OLE DB error object.
To retrieve an OLE DB error object, the consumer takes the following steps: