Reference

SetErrorInfo(3w)

NAME

SetErrorInfo (OLE32.@)

SYNOPSIS

HRESULT SetErrorInfo
(
ULONG dwReserved,
IErrorInfo* perrinfo
)

DESCRIPTION

Sets the error information object for the current thread.

PARAMS

dwReserved [In] Reserved. Must be zero.

perrinfo [In] Error information object.

RETURNS

Success: S_OK.

Failure: E_INVALIDARG if dwReserved is not zero.

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/ole32/errorinfo.c".

Debug channel "ole".

History