
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Technical Reference - <b>_errgetflags()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_errGetFlags()
Get the values of the error type flags
------------------------------------------------------------------------------
C Prototype
#include "error.api"
USHORT _errGetFlags(
ERRORP pError
)
Arguments
pError is a pointer to the Error object from which the value is to
be retrieved.
Returns
_errGetFlags() returns the value of the error type flags.
Description
_errGetFlags() retrieves the current value of flags which determines the
actions that are allowed for this error. The value and meaning of the
error type flags defined in Error.api are as follows:
Error flags Values
------------------------------------------------------------------------
Constant Value Meaning
------------------------------------------------------------------------
EF_CANRETRY 1 Advises the CA-Clipper Error Handler routine that
the failed operation can be retried.
EF_CANDEFAULT 4 Advises the CA-Clipper Error Handler routine that
the failed operation can be safely ignored.
------------------------------------------------------------------------
Examples
. This code fragment retrieves the contents of flags:
#include "error.api"
.
.
.
USHORT uiFlags;
uiFlags = _errGetFlags( pError );
.
.
.
Files: Library is CLIPPER.LIB, header file is Error.api.
See Also: _errPutFlags()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson