Scroll to navigation

GetErrorInfo(3w) Wine API GetErrorInfo(3w)

NAME

GetErrorInfo (OLE32.@)

SYNOPSIS

HRESULT GetErrorInfo
(
ULONG dwReserved,
IErrorInfo** pperrinfo
)
 

DESCRIPTION

Retrieves the error information object for the current thread.
 

PARAMS

dwReserved [In] . Reserved. Must be zero.
pperrinfo [Out] . Address where error information object will be stored on return.
 

RETURNS

Success: S_OK if an error information object was set for the current thread. S_FALSE if otherwise.
Failure: E_INVALIDARG if dwReserved is not zero.
 

NOTES

This function causes the current error information object for the thread to be cleared if one was set beforehand.
 

IMPLEMENTATION

Declared in "oleauto.h".
Implemented in "dlls/ole32/errorinfo.c".
Debug channel "ole".
Oct 2012 Wine API