NAME

IPropData_GetLastError  (MAPI32.@)

SYNOPSIS

 static HRESULT IPropData_GetLastError
 (
  LPPROPDATA   iface,
  HRESULT      hRes,
  ULONG        ulFlags,
  LPMAPIERROR* lppError
 )

DESCRIPTION

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 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

Declared in "include/mapiutil.h". gitlab.winehq.org/wine/wine/blob/master/include/mapiutil.h

Implemented in "dlls/mapi32/prop.c". gitlab.winehq.org/wine/wine/blob/master/dlls/mapi32/prop.c

Debug channel "mapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.