IErrorLog::AddError method (oaidl.h)

Adds an error for the specified property to the error log.

Syntax

HRESULT AddError(
  LPCOLESTR pszPropName,
  EXCEPINFO *pExcepInfo
);

Parameters

pszPropName

The address of the name of the property to read. This cannot be NULL.

pExcepInfo

Pointer to an array of EXCEPINFO structures.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header oaidl.h