Compartilhar via


GetErrorInfo (Windows CE 5.0)

Send Feedback

This function retrieves the error information pointer set by the previous call to SetErrorInfo in the current logical thread.

HRESULT GetErrorInfo( DWORD dwReserved,IerrorInfo** pperrinfo);

Parameters

  • dwReserved
    [in] Reserved for future use; must set to zero.
  • pperrinfo
    [in] Pointer to a pointer to a system-implemented generic error object.

Return Values

If successful, the function returns the HRESULT value S_OK. If there was no error object to return, the function returns S_FALSE.

Remarks

This function retrieves a pointer to the most recently set IErrorInfo pointer in the current logical thread. It transfers ownership of the error object to the caller and clears the error state for the thread.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Oleauto.h.
Link Library: Oleaut32.lib.

See Also

Automation Functions | SetErrorInfo | IErrorInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.