title CDBErrorInfo::GetErrorInfo | Microsoft Docs ms.custom ms.date 11/04/2016 ms.reviewer ms.suite ms.technology cpp-windows ms.tgt_pltfrm ms.topic article f1_keywords GetErrorInfo ATL.CDBErrorInfo.GetErrorInfo CDBErrorInfo.GetErrorInfo ATL::CDBErrorInfo::GetErrorInfo CDBErrorInfo::GetErrorInfo dev_langs C++ helpviewer_keywords GetErrorInfo method ms.assetid 234e1f02-c307-4666-b3ce-2a4d62407fa1 caps.latest.revision 9 author mikeblome ms.author mblome manager ghogen translation.priority.ht de-de es-es fr-fr it-it ja-jp ko-kr ru-ru zh-cn zh-tw translation.priority.mt cs-cz pl-pl pt-br tr-tr CDBErrorInfo::GetErrorInfo Calls IErrorRecords::GetErrorInfo to return an IErrorInfo interface pointer to the specified record. Syntax HRESULT GetErrorInfo( ULONG ulRecordNum, LCID lcid, IErrorInfo** ppErrorInfo ) const throw( ); Parameters See IErrorRecords::GetErrorInfo in the OLE DB Programmer's Reference. Return Value A standard HRESULT. Requirements Header: atldbcli.h See Also CDBErrorInfo Class