Partager via


IOSTX::GetLastError

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

Reference

IOSTX::InitSync

IOSTX::SetSyncResult

IOSTX::SyncBeg

IOSTX::SyncEnd

IOSTX::SyncHdrBeg

IOSTX::SyncHdrEnd

IOSTX : IUnknown

Concepts

MAPI Constants