Redigera

Dela via


FixMAPI

Applies to: Outlook 2013 | Outlook 2016

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.

Quick info

Property Value
Exported by:
mapistub.dll
Called by:
Client
Implemented by:
Windows
DWORD STDAPICALLTYPE FixMAPI(void); 

Return values

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.

Remarks

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.

See also