.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SetErrorInfo 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSetErrorInfo\fR (OLE32.@) .SH SYNOPSIS HRESULT SetErrorInfo ( ULONG \fIdwReserved\fR, IErrorInfo* \fIperrinfo\fR ) .SH DESCRIPTION .PP Sets the error information object for the current thread. .SH PARAMS \fIdwReserved\fR \fB[In]\fR Reserved. Must be zero. .PP \fIperrinfo\fR \fB[In]\fR Error information object. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. .PP \fBFailure:\fR \fBE_INVALIDARG\fR if \fIdwReserved\fR is not zero. .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/ole32/errorinfo.c"\fR. .PP Debug channel \fB"ole"\fR.