Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

static HRESULT com::SupportErrorInfoBase::setErrorInfo ( IVirtualBoxErrorInfo *  aInfo  )  [inline, static, protected]

Sets the given error info object on the current thread.

Note that In multi-error mode (see MultiResult), the existing error info object (if any) will be preserved by attaching it to the tail of the error chain of the given aInfo object.

aInfo Error info object to set (must not be NULL).

Definition at line 372 of file SupportErrorInfo.h.

References AssertReturn, and NULL.

Referenced by ProgressBase::setErrorInfoOnThread().

        AssertReturn (aInfo != NULL, E_FAIL);
        return setErrorInternal (0, NULL, NULL, NULL, false, aInfo);

Generated by  Doxygen 1.6.0   Back to index