home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / winnt / pop3 / pop3evnt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-30  |  3.0 KB  |  154 lines

  1. /*++
  2.  
  3. Copyright (c) 1995-1997  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     pop3evnt.h
  8.  
  9. Abstract:
  10.  
  11.     Definitions for POP3 Server Events
  12.  
  13. Author:
  14.  
  15.     RichardW,  3 Jan 95
  16.  
  17. Revision History:
  18.  
  19. Notes:
  20.  
  21.     This file is generated by the MC tool from the pop3evnt.mc file.
  22.  
  23. --*/
  24.  
  25.  
  26. #ifndef __POP3EVNT_H__
  27. #define __POP3EVNT_H__
  28.  
  29. //
  30. //  Values are 32 bit values layed out as follows:
  31. //
  32. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  33. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  34. //  +---+-+-+-----------------------+-------------------------------+
  35. //  |Sev|C|R|     Facility          |               Code            |
  36. //  +---+-+-+-----------------------+-------------------------------+
  37. //
  38. //  where
  39. //
  40. //      Sev - is the severity code
  41. //
  42. //          00 - Success
  43. //          01 - Informational
  44. //          10 - Warning
  45. //          11 - Error
  46. //
  47. //      C - is the Customer code flag
  48. //
  49. //      R - is a reserved bit
  50. //
  51. //      Facility - is the facility code
  52. //
  53. //      Code - is the facility's status code
  54. //
  55. //
  56. // Define the facility codes
  57. //
  58.  
  59.  
  60. //
  61. // Define the severity codes
  62. //
  63. #define STATUS_SEVERITY_WARNING          0x2
  64. #define STATUS_SEVERITY_SUCCESS          0x0
  65. #define STATUS_SEVERITY_INFORMATIONAL    0x1
  66. #define STATUS_SEVERITY_ERROR            0x3
  67.  
  68.  
  69. //
  70. // MessageId: POP3EVENT_SERVICE_STARTED
  71. //
  72. // MessageText:
  73. //
  74. //  The POP3 Service started successfully.
  75. //
  76. #define POP3EVENT_SERVICE_STARTED        0x000003E8L
  77.  
  78. //
  79. // MessageId: POP3EVENT_MAIL_DELIVERED
  80. //
  81. // MessageText:
  82. //
  83. //  A message was successfully delivered for %1.
  84. //
  85. #define POP3EVENT_MAIL_DELIVERED         0x000003E9L
  86.  
  87. //
  88. // MessageId: POP3EVENT_MAIL_DIRECTORY_CREATED
  89. //
  90. // MessageText:
  91. //
  92. //  A new mail directory was created for %1.
  93. //
  94. #define POP3EVENT_MAIL_DIRECTORY_CREATED 0x400007D0L
  95.  
  96. //
  97. // MessageId: POP3EVENT_USER_CONNECT
  98. //
  99. // MessageText:
  100. //
  101. //  A client has connected
  102. //
  103. #define POP3EVENT_USER_CONNECT           0x400007D1L
  104.  
  105. //
  106. // MessageId: POP3EVENT_USER_DISCONNECT
  107. //
  108. // MessageText:
  109. //
  110. //  A client has disconnected
  111. //
  112. #define POP3EVENT_USER_DISCONNECT        0x400007D2L
  113.  
  114. //
  115. // MessageId: POP3EVENT_MAIL_DIRECTORY_LOCKED
  116. //
  117. // MessageText:
  118. //
  119. //  The mail directory for user %1 was locked, and could not be accessed.
  120. //
  121. #define POP3EVENT_MAIL_DIRECTORY_LOCKED  0x80000BB8L
  122.  
  123. //
  124. // MessageId: POP3EVENT_VOLUME_FULL
  125. //
  126. // MessageText:
  127. //
  128. //  The volume containing the mail directory, %1, is full.
  129. //
  130. #define POP3EVENT_VOLUME_FULL            0x80000BB9L
  131.  
  132. //
  133. // MessageId: POP3EVENT_LOGON_FAILURE
  134. //
  135. // MessageText:
  136. //
  137. //  A logon attempt has failed.
  138. //
  139. #define POP3EVENT_LOGON_FAILURE          0x80000BBAL
  140.  
  141. //
  142. // MessageId: POP3EVENT_PARAMETER_MISSING
  143. //
  144. // MessageText:
  145. //
  146. //  The service is not configured correctly, and data was not found
  147. //  in the registry for path %1
  148. //
  149. #define POP3EVENT_PARAMETER_MISSING      0xC0000FA0L
  150.  
  151.  
  152. #endif  //__POP3EVNT_H__
  153.  
  154.