[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson