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