共用方式為


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

IPSTX::EmulateSpooler

IPSTX::GetSyncObject