JVCL Help:TJvMail.ErrorCheck

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Determines whether a value returned from a Simple MAPI function represents an error condition.


Pascal

 functionErrorCheck(Res: DWORD): DWORD;


Parameters

Parameters Description
Res: DWORD The return code from a direct Simple MAPI call


Return Value

The value as specified by parameter Res.


Description

Pass the return code from a direct Simple MAPI call as the Res parameter when calling ErrorCheck. ErrorCheck either fires an OnError event (if an OnError event handler is assigned) or calls MapiError to check whether Res indicates an error condition, and if so raises an exception.


See Also

TJvMail.OnError


About

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