JCL Help:MapiCheck
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: MapiCheck Function
Search in JCL Help
Search in all projects
Summary
Checks the MAPI result code.
Pascal
function MapiCheck(const Res: DWORD; IgnoreUserAbort: Boolean = True): DWORD;
Parameters
Parameters | Description |
const Res: DWORD | MAPI result code. |
IgnoreUserAbort: Boolean = True | Set to True (default) to ignore MAPI_E_USER_ABORT, otherwise MAPI_E_USER_ABORT will be seen as an error. |
Return Value
If MAPI result code is not an error the function returns the result code, otherwise an EJclMAPIError exception is raised.
Description
MapiCheck checks the MAPI result code, optionally ignoring user abort codes. If an error occurred, an exception is raised, otherwise the result code will be returned (which is either SUCCESS_SUCCESS or MAPI_E_USER_ABORT).
About
Unit
Donator
Petr Vones
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page