IErrorLog::AddErrorIErrorLog::AddError*
*Contents  *Index  *Topic Contents
*Previous Topic: The IErrorLog Interface
*Next Topic: The IPersistHistory Interface

IErrorLog::AddError

HRESULT AddError(
    [in] LPCOLESTR pszPropName, 
    [in] LPEXCEPINFO pExcepInfo);

Logs an error (an EXCEPINFO structure) in the error log for a named property.

pszPropName
[in] Name of the property involved with the error. Cannot be NULL.
pExcepInfo
[in] Address of the caller-initialized EXCEPINFO structure that describes the error to log. Cannot be NULL.

E_NOTIMPL is not a valid return code because the member function is the only one in the entire interface.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.