home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / UPC2S1.ZIP / PNTERR.H < prev    next >
Text File  |  1993-09-26  |  2KB  |  48 lines

  1. /*--------------------------------------------------------------------*/
  2. /*       p n t e r r . h                                              */
  3. /*                                                                    */
  4. /*       Report error message from OS/2 error message                 */
  5. /*--------------------------------------------------------------------*/
  6.  
  7. /*--------------------------------------------------------------------*/
  8. /*    Changes Copyright (c) David M. Watt 1993, All Rights Reserved   */
  9. /*--------------------------------------------------------------------*/
  10.  
  11. /*--------------------------------------------------------------------*/
  12. /*       Changes Copyright (c) 1989-1993 by Kendra Electronic         */
  13. /*       Wonderworks.                                                 */
  14. /*                                                                    */
  15. /*       All rights reserved except those explicitly granted by       */
  16. /*       the UUPC/extended license agreement.                         */
  17. /*--------------------------------------------------------------------*/
  18.  
  19. /*--------------------------------------------------------------------*/
  20. /*                          RCS Information                           */
  21. /*--------------------------------------------------------------------*/
  22.  
  23. /*
  24.  *    $Id: pnterr.h 1.2 1993/09/26 03:34:48 dmwatt Exp $
  25.  *
  26.  *    Revision history:
  27.  *    $Log: pnterr.h $
  28.  * Revision 1.2  1993/09/26  03:34:48  dmwatt
  29.  * Update copyright
  30.  *
  31.  * Revision 1.1  1993/09/25  03:02:55  ahd
  32.  * Initial revision
  33.  *
  34.  * Revision 1.1  1993/09/24  03:46:07  ahd
  35.  * Initial revision
  36.  */
  37.  
  38. void pNTErr(const size_t lineno,
  39.              const char *fname,
  40.              const char *prefix,
  41.              DWORD rc);
  42.  
  43. /*--------------------------------------------------------------------*/
  44. /*                 Macro for generic error messages from DOS          */
  45. /*--------------------------------------------------------------------*/
  46.  
  47. #define printNTerror( x, rc )  pNTErr( __LINE__, cfnptr, x, rc)
  48.