IMAPIProp_GetLastError(3w)

IMAPIProp_GetLastError3w

Usage

static inline HRESULT IMAPIProp_GetLastError
(
LPMAPIPROP iface,
HRESULT hRes,
ULONG ulFlags,
LPMAPIERROR* lppError
)

Overview

Get information about the last error that occurred in an IMAPIProp object.

Params

iface [In] IMAPIProp object that experienced the error.

hRes [In] Result of the call that returned an error.

ulFlags [In] 0=return Ascii strings, MAPI_UNICODE=return Unicode strings.

lppError [Out] Destination for detailed error information.

Returns

Success: S_OK. *lppError contains details about the last error.

Failure: MAPI_E_INVALID_PARAMETER, if any parameter is invalid, MAPI_E_NOT_ENOUGH_MEMORY, if memory allocation fails.

Notes

- If this function succeeds, the returned information in *lppError must be freed using MAPIFreeBuffer(3w) once the caller is finished with it.

- It is possible for this function to succeed and set *lppError to NULL, if there is no further information to report about hRes.

Implementation

Defined in "mapidefs.h".

Implemented in "dlls/mapi32/prop.c".

Debug channel "mapi".

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

From libwine-dev 1.0.1-3.1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.