Share via


IErrorRecordsImpl::AddErrorRecord

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IErrorRecordsImpl::AddErrorRecord.

Adds a record to the OLE DB error object.

Syntax

  
      STDMETHOD( AddErrorRecord )(  
   ERRORINFO *pErrorInfo,  
   DWORD dwLookupID,  
   DISPPARAMS *pdispparams,  
   IUnknown *punkCustomError,  
   DWORD dwDynamicErrorID   
);  

Parameters

See IErrorRecords::AddErrorRecord in the OLE DB Programmer's Reference.

Requirements

Header: atldb.h

See Also

IErrorRecordsImpl Class