GetErrorInfo.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "oleauto.h".

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

Debug channel "ole".