CDBErrorInfo::GetErrorRecords

HRESULT GetErrorRecords(IUnknown* pUnk**, const IID&** iid**, ULONG*** pcRecords );

HRESULT GetErrorRecords(ULONG* pcRecords**);**

Return Value

A standard HRESULT.

Parameters

pUnk

[in] Interface to the object for which to get error records.

iid

[in] The IID of the interface associated with the error.

pcRecords

[out] A pointer to the (one-based) count of error records.

Remarks

Gets error records for the specified object. Use the first form of the function if you want to check which interface to get the error information from. Otherwise, use the second form.

CDBErrorInfo OverviewClass Members