home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / 3COMM.ZIP / H.ZIP / ALERTMSG.H < prev    next >
C/C++ Source or Header  |  1989-05-17  |  5KB  |  205 lines

  1. /********************************************************************/
  2. /**                   Microsoft OS/2 LAN Manager                   **/
  3. /**            Copyright(c) Microsoft Corp., 1987, 1988            **/
  4. /********************************************************************/
  5.  
  6. /********************************************************************
  7.  *
  8.  *  About this file ...  ALERTMSG.H
  9.  *
  10.  *  This file contains the number and text of alert messages.
  11.  *
  12.  *  Since it is included by ALERT.H, it is not usually necessary
  13.  *  to include this file directly.  As a precaution against 
  14.  *  including this file twice -- for example, by including it
  15.  *  explicitly and also including ALERT.H -- the contents are
  16.  *  inside an #ifdef that insures that the contents are only
  17.  *  included once.
  18.  *
  19.  ********************************************************************/
  20.  
  21.  
  22. #ifndef _ALERTMSG_H_
  23.  
  24. #define _ALERTMSG_H_
  25.  
  26.  
  27. /*
  28.  *     ALERT_BASE is the base of alert log codes.
  29.  */
  30.  
  31. #define ALERT_BASE    3000
  32.  
  33.  
  34.  
  35. #define ALERT_Disk_Full        (ALERT_BASE + 0)
  36.     /*
  37.      *  Drive %1 is nearly full. %2 bytes available.
  38.      *  Recommend you warn users and delete unneeded files 
  39.      */
  40.  
  41.  
  42. #define    ALERT_ErrorLog        (ALERT_BASE + 1)
  43.     /*
  44.      *  %1 errors have been logged in the last %2 minutes.
  45.      *  Recommend you view the server's error log.
  46.      */
  47.  
  48.  
  49. #define ALERT_NetIO        (ALERT_BASE + 2)
  50.     /*
  51.      *  %1 network errors have occurred in the last %2 minutes
  52.      *  on network %3.  Recommend you view the server's error log.
  53.      *  The server and/or network hardware may need service.
  54.      */
  55.  
  56.  
  57. #define ALERT_Logon        (ALERT_BASE + 3)
  58.     /*
  59.      *  %1 bad password attempts in the last %2 minutes.
  60.      *  Recommend you view the server's audit trail.
  61.      */
  62.  
  63.  
  64. #define ALERT_Access        (ALERT_BASE + 4)
  65.     /*
  66.      *  %1 access denied errors in the last %2 minutes.
  67.      *  Recommend you view the server's audit trail.
  68.      */
  69.  
  70.  
  71. #define ALERT_AutoDisc        (ALERT_BASE + 5)
  72.     /*
  73.      * Your session to this server has been automatically disconnected
  74.      * due to inactivity.
  75.      */
  76.  
  77.  
  78. #define    ALERT_ErrorLogFull    (ALERT_BASE + 6)
  79.     /*
  80.      *  The error log is full.  No errors will be logged until
  81.      *  the file is cleared or the limit is raised.
  82.      */
  83.  
  84.  
  85. #define    ALERT_ErrorLogFull_W    (ALERT_BASE + 7)
  86.     /*
  87.      *  The error log is 80% full.  
  88.      */
  89.  
  90.  
  91. #define    ALERT_AuditLogFull    (ALERT_BASE + 8)
  92.     /*
  93.      *  The audit log is full.  No audits will be logged until
  94.      *  the file is cleared or the limit is raised.
  95.      */
  96.  
  97.  
  98. #define    ALERT_AuditLogFull_W    (ALERT_BASE + 9)
  99.     /*
  100.      *  The audit log is 80% full.  
  101.      */
  102.  
  103. #define ALERT_CloseBehindError    (ALERT_BASE + 10)
  104.     /*
  105.      *  An error occurred closing file %1. 
  106.      *  Recommend you check the file for integrity.
  107.      */
  108.  
  109. #define ALERT_AdminClose    (ALERT_BASE + 11)
  110.     /*
  111.      * The administrator has closed %1.
  112.      */
  113.  
  114. #define APE_MSG_FROM        (ALERT_BASE + 12)
  115.     /*
  116.      *%1 at \\%2
  117.      */
  118.  
  119. #define APE_ERROR_MSG        (ALERT_BASE + 13)
  120.     /*
  121.      * The error code is %1.
  122.      * There was an error in retrieving the message. Make sure the file
  123.      * NET.MSG is available.
  124.      */
  125.  
  126. #define APE_MSG_CANCELLED    (ALERT_BASE + 14)
  127.     /*
  128.      *Print job %1 has been cancelled while printing on %2.
  129.      */
  130.  
  131. #define APE_MSG_DELETED     (ALERT_BASE + 15)
  132.     /*
  133.      *Print job %1 has been deleted and will not print.
  134.      */
  135.  
  136. #define APE_MSG_FINISHED    (ALERT_BASE + 16)
  137.     /*
  138.      *Print job %1 has finished printing on %2.
  139.      */
  140.  
  141. #define APE_MSG_INCOMPL     (ALERT_BASE + 17)
  142.     /*
  143.      *Print job %1 has not completed printing on %2.
  144.      */
  145.  
  146. #define APE_MSG_PAUSED        (ALERT_BASE + 18)
  147.     /*
  148.      *Print job %1 has paused printing on %2.
  149.      */
  150.  
  151. #define APE_MSG_PRINTING    (ALERT_BASE + 19)
  152.     /*
  153.      *Print job %1 is now printing on %2.
  154.      */
  155.  
  156. #define APE_MSG_NOPAPER     (ALERT_BASE + 20)
  157.     /*
  158.      *The printer is out of paper.
  159.      */
  160.  
  161. #define APE_MSG_OFFLINE     (ALERT_BASE + 21)
  162.     /*
  163.      *The printer is offline.
  164.      */
  165.  
  166. #define APE_MSG_ERRORS        (ALERT_BASE + 22)
  167.     /*
  168.      *There have been printing errors.
  169.      */
  170.  
  171. #define APE_MSG_HUMAN        (ALERT_BASE + 23)
  172.     /*
  173.      *The printer needs human intervention.
  174.      */
  175.  
  176. #define APE_MSG_HELD        (ALERT_BASE + 24)
  177.     /*
  178.      *Print job %1 is being held from printing.
  179.      */
  180.  
  181. #define APE_MSG_QUEUED        (ALERT_BASE + 25)
  182.     /*
  183.      *Print job %1 is queued for printing.
  184.      */
  185.  
  186. #define APE_MSG_SPOOLED     (ALERT_BASE + 26)
  187.     /*
  188.      *Print job %1 is being spooled.
  189.      */
  190.  
  191. #define APE_MSG_QUEUEDTO    (ALERT_BASE + 27)
  192.     /*
  193.      *Job was queued to %1 on %2
  194.      */
  195.  
  196. #define APE_MSG_SIZE        (ALERT_BASE + 28)
  197.     /*
  198.      *Size of job is %1 bytes.
  199.      */
  200.  
  201.  
  202.  
  203.  
  204. #endif
  205.