IPSTX::GetLastError

Last modified: July 23, 2011

Applies to: Outlook

Gets extended information about the last error.

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

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.

Show:
© 2015 Microsoft