FixMAPI

Office 2013 and later

Last modified: July 05, 2012

Applies to: Outlook

In this article
Quick Info
Return Values
Remarks

Makes a backup copy of the current copy of mapi32.dll on the client computer, and restores mapi32.dll with the MAPI stub library, mapistub.dll.

Exported by:

mapistub.dll

Called by:

Client

Implemented by:

Windows

DWORD STDAPICALLTYPE FixMAPI(void); 

If the function succeeds, the return value is a non-zero value.

If the function fails, the return value is zero. To get extended error information, call the Microsoft Windows Software Development Kit (SDK) function, GetLastError.

FixMAPI does not replace the current mapi32.dll file if the file is marked as read-only.

FixMAPI does not replace the current mapi32.dll if Microsoft Exchange Server is installed on the computer.

When FixMAPI makes a backup copy of the current copy of mapi32.dll on the computer, it assigns the backup copy a name different from "mapi32.dll". It then directs subsequent calls intended for that assembly to the backup copy.

Show: