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>_errgetsubcode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _errGetSubCode()
 Get the value of subCode
------------------------------------------------------------------------------
 C Prototype

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

 Arguments

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

 Returns

     _errGetSubCode() returns the value of subCode.

 Description

     _errGetSubCode() retrieves a value which indicates the specific error
     number within the subsystem referenced by subSystem.  The combination of
     the subSystem name and the subCode uniquely identifies a specific error.
     See _errPutSubCode() for additional details about subCode.

 Examples

     .  This code fragment shows how to retrieve the contents of
        subCode:

        #include "error.api"
           .
           .
           .
           USHORT uiSubCode;
           uiSubCode = _errGetSubCode( pError );
           .
           .
           .

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


See Also: _errGetSubSystem() _errPutSubCode()

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