获取指定的对象的错误的记录。
HRESULT GetErrorRecords(
IUnknown* pUnk,
const IID& iid,
ULONG* pcRecords
) throw( );
HRESULT GetErrorRecords(
ULONG* pcRecords
) throw( );
参数
pUnk
[in] 连接到来获得错误记录的对象。iid
[in] 接口的 IID 与错误。pcRecords
[out] 对 (基于) 计数的指针错误的记录。
返回值
标准版HRESULT。
备注
使用函数的第一个形式您是否希望签请连接获取错误信息。 否则,使用第二种形式。
要求
标头: atldbcli.h