IOSTX::GetLastError

Applies to: Outlook 2013 | Outlook 2016

Gets extended information about the last error.

HRESULT GetLastError( 
    HRESULT hResult, 
    ULONG ulFlags, 
    LPMAPIERROR *lppMAPIError 
);

Parameters

hResult

[in] Error code.

ulFlags

[in] Flags to modify behavior. This must be 0.

lppMAPIError

[out] Pointer to the MAPIERROR structure that contains the extended information for the error. See mapidefs.h for the type definition of LPMAPIERROR.

See also

IOSTX::InitSync

IOSTX::SetSyncResult

IOSTX::SyncBeg

IOSTX::SyncEnd

IOSTX::SyncHdrBeg

IOSTX::SyncHdrEnd

IOSTX : IUnknown

MAPI Constants