Share via


CDBErrorInfo::GetCustomErrorObject

 

The latest version of this topic can be found at CDBErrorInfo::GetCustomErrorObject.

Calls IErrorRecords::GetCustomErrorObject to return a pointer to an interface on a custom error object.

Syntax

  
      HRESULT GetCustomErrorObject(   
   ULONG ulRecordNum,   
   REFIID riid,   
   IUnknown** ppObject    
) const throw( );  

Parameters

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

Return Value

A standard HRESULT.

Requirements

Header: atldbcli.h

See Also

CDBErrorInfo Class