次の方法で共有


About the MAPI Crash Recovery API

About the MAPI Crash Recovery API

The MAPI Crash Recovery API checks the state of the Personal Folders file (PST) or Offline Folders file (OST) shared memory to verify that the data is in a consistent state. If it is in a consistent state, the MAPICrashRecovery function moves the data from the open PSTs or OSTs to disk and locks the PSTs or OSTs and does not allow any read or write access to the data. This ensures that the data remains in a consistent state until the process is terminated. By ensuring that the PSTs or OSTs are in a consistent state before the process is terminated, you can prevent Microsoft Office Outlook from displaying the following error message and avoid performance problems.

A data file did not close properly the last time it was used and is being checked for problems. Performance might be affected while the check is in progress.

This API provides the following:

Constants:

Constants for Exported Outlook APIs

Functions:

MAPICrashRecovery

See Also

About APIs Exported by Outlook

How to: Use the MAPI Crash Recovery API