Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Technical Reference - <b>_errgetgencode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _errGetGenCode()
 Get the value of genCode
------------------------------------------------------------------------------
 C Prototype

     #include "error.api"
     USHORT _errGetGenCode(
                            ERRORP pError
                          )

 Arguments

     pError is a pointer to the Error object from which the value is to
     be retrieved.

 Returns

     _errGetGenCode() returns a value indicating the general type of the
     operation taking place when the error occurred.

 Description

     _errGetGenCode() retrieves the value of genCode which represents the
     general category of operation taking place when the error occurred.  The
     header file Error.ch contains many predefined genCode values that you
     may use to test for specific errors.  See _errPutGenCode() for
     additional details about genCode.

 Examples

     .  This code fragment retrieves the contents of genCode:

        #include "error.api"
           .
           .
           .
           USHORT uiGenCode;
           uiGenCode = _errGetGenCode( pError );
           .
           .
           .

 Files:  Library is CLIPPER.LIB, header file is Error.api.


See Also: _errPutGenCode()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson