Is there a way to get the description message from MAPI HRESULT? RRS feed

  • Question

  • Hi,

    For some of the MAPI functions, such as 


    It will return HRESULT. Is there a function that can translate the HRESULT value into a description message so that it is easy to understand.

    Friday, December 13, 2019 9:15 AM

All replies

  • Most error codes are in MAPIError.h

    You can also use OutlookSpy - click "Error Code Lookup" button on the OutlookSpy ribbon to translate an integer error code to a symbolic value.

    Dmitry Streblechenko (MVP)
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Friday, December 13, 2019 1:21 PM