Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
7.1 KiB

  1. //+------------------------------------------------------------
  2. //
  3. // Copyright (C) 1998, Microsoft Corporation
  4. //
  5. // File: smtpguid.h
  6. //
  7. // Contents: Event related GUIDS published from SMTPSVC
  8. //
  9. // Instructions: Include this file to declare the various
  10. // GUIDS/strings as external global variables.
  11. // To actually define these global variables,
  12. // #define SMTPINITGUID and #include <initguid.h> before this
  13. // header file.
  14. //
  15. // History:
  16. // Jeffrey C Stamerjohn 1998/07/14 15:22:29: Created.
  17. //
  18. //-------------------------------------------------------------
  19. #ifndef __SMTPGUID_H__
  20. #define __SMTPGUID_H__
  21. #ifdef SMTPINITGUID
  22. #define DECLARE_EVENTGUID_STRING( Name, Value ) \
  23. CONST WCHAR Name##[] = L##Value
  24. #else //SMTPINITGUID
  25. #define DECLARE_EVENTGUID_STRING( Name, Value ) \
  26. extern CONST WCHAR Name##[]
  27. #endif //SMTPINITGUID
  28. // SMTP SourceType GUID
  29. // {fb65c4dc-e468-11d1-aa67-00c04fa345f6}
  30. DECLARE_EVENTGUID_STRING( g_szGuidSmtpSourceType, "{fb65c4dc-e468-11d1-aa67-00c04fa345f6}");
  31. DEFINE_GUID(GUID_SMTP_SOURCE_TYPE, 0xfb65c4dc, 0xe468, 0x11d1, 0xaa, 0x67, 0x0, 0xc0, 0x4f, 0xa3, 0x45, 0xf6);
  32. /*
  33. ** SMTP Source GUID
  34. */
  35. // {1b3c0666-e470-11d1-aa67-00c04fa345f6}
  36. DECLARE_EVENTGUID_STRING( g_szGuidSmtpSvcSource, "{1b3c0666-e470-11d1-aa67-00c04fa345f6}");
  37. DEFINE_GUID(GUID_SMTPSVC_SOURCE, 0x1b3c0666, 0xe470, 0x11d1, 0xaa, 0x67, 0x0, 0xc0, 0x4f, 0xa3, 0x45, 0xf6);
  38. /*
  39. ** Protocol Events
  40. */
  41. // SMTP OnInboundCommand
  42. // {F6628C8D-0D5E-11d2-AA68-00C04FA35B82}
  43. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnInboundCommand, "{F6628C8D-0D5E-11d2-AA68-00C04FA35B82}");
  44. DEFINE_GUID(CATID_SMTP_ON_INBOUND_COMMAND, 0xf6628c8d, 0xd5e, 0x11d2, 0xaa, 0x68, 0x0, 0xc0, 0x4f, 0xa3, 0x5b, 0x82);
  45. // SMTP OnServerResponse
  46. // {F6628C8E-0D5E-11d2-AA68-00C04FA35B82}
  47. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnServerResponse, "{F6628C8E-0D5E-11d2-AA68-00C04FA35B82}");
  48. DEFINE_GUID(CATID_SMTP_ON_SERVER_RESPONSE, 0xf6628c8e, 0xd5e, 0x11d2, 0xaa, 0x68, 0x0, 0xc0, 0x4f, 0xa3, 0x5b, 0x82);
  49. // SMTP OnSessionStart
  50. // {F6628C8F-0D5E-11d2-AA68-00C04FA35B82}
  51. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnSessionStart, "{F6628C8F-0D5E-11d2-AA68-00C04FA35B82}");
  52. DEFINE_GUID(CATID_SMTP_ON_SESSION_START, 0xf6628c8f, 0xd5e, 0x11d2, 0xaa, 0x68, 0x0, 0xc0, 0x4f, 0xa3, 0x5b, 0x82);
  53. // SMTP OnMessageStart
  54. // {F6628C90-0D5E-11d2-AA68-00C04FA35B82}
  55. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnMessageStart, "{F6628C90-0D5E-11d2-AA68-00C04FA35B82}");
  56. DEFINE_GUID(CATID_SMTP_ON_MESSAGE_START, 0xf6628c90, 0xd5e, 0x11d2, 0xaa, 0x68, 0x0, 0xc0, 0x4f, 0xa3, 0x5b, 0x82);
  57. // SMTP OnPerRecipient
  58. // {F6628C91-0D5E-11d2-AA68-00C04FA35B82}
  59. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnPerRecipient, "{F6628C91-0D5E-11d2-AA68-00C04FA35B82}");
  60. DEFINE_GUID(CATID_SMTP_ON_PER_RECIPIENT, 0xf6628c91, 0xd5e, 0x11d2, 0xaa, 0x68, 0x0, 0xc0, 0x4f, 0xa3, 0x5b, 0x82);
  61. // Smtp OnBeforeData
  62. // {F6628C92-0D5E-11d2-AA68-00C04FA35B82}
  63. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnBeforeData, "{F6628C92-0D5E-11d2-AA68-00C04FA35B82}");
  64. DEFINE_GUID(CATID_SMTP_ON_BEFORE_DATA, 0xf6628c92, 0xd5e, 0x11d2, 0xaa, 0x68, 0x0, 0xc0, 0x4f, 0xa3, 0x5b, 0x82);
  65. // SMTP OnSessionEnd
  66. // {F6628C93-0D5E-11d2-AA68-00C04FA35B82}
  67. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnSessionEnd, "{F6628C93-0D5E-11d2-AA68-00C04FA35B82}");
  68. DEFINE_GUID(CATID_SMTP_ON_SESSION_END, 0xf6628c93, 0xd5e, 0x11d2, 0xaa, 0x68, 0x0, 0xc0, 0x4f, 0xa3, 0x5b, 0x82);
  69. /*
  70. ** Transport Events
  71. */
  72. // SMTP Store Events
  73. // {59175850-e533-11d1-aa67-00c04fa345f6}
  74. DECLARE_EVENTGUID_STRING( g_szcatidSmtpStoreDriver, "{59175850-e533-11d1-aa67-00c04fa345f6}");
  75. DEFINE_GUID(CATID_SMTP_STORE_DRIVER, 0x59175850, 0xe533, 0x11d1, 0xaa, 0x67, 0x0, 0xc0, 0x4f, 0xa3, 0x45, 0xf6);
  76. // SMTP OnTransportSubmission
  77. // {FF3CAA23-00B9-11d2-9DFB-00C04FA322BA}
  78. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnTransportSubmission, "{FF3CAA23-00B9-11d2-9DFB-00C04FA322BA}");
  79. DEFINE_GUID(CATID_SMTP_TRANSPORT_SUBMISSION, 0xff3caa23, 0xb9, 0x11d2, 0x9d, 0xfb, 0x0, 0xc0, 0x4f, 0xa3, 0x22, 0xba);
  80. // SMTP onPrecategorize
  81. // {A3ACFB0D-83FF-11d2-9E14-00C04FA322BA}
  82. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnPrecategorize, "{A3ACFB0D-83FF-11d2-9E14-00C04FA322BA}");
  83. DEFINE_GUID(CATID_SMTP_TRANSPORT_PRECATEGORIZE, 0xa3acfb0d, 0x83ff, 0x11d2, 0x9e, 0x14, 0x0, 0xc0, 0x4f, 0xa3, 0x22, 0xba);
  84. // SMTP Categorizer events
  85. // {960252A3-0A3A-11d2-9E00-00C04FA322BA}
  86. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnCategorize, "{960252A3-0A3A-11d2-9E00-00C04FA322BA}");
  87. DEFINE_GUID(CATID_SMTP_TRANSPORT_CATEGORIZE, 0x960252a3, 0xa3a, 0x11d2, 0x9e, 0x0, 0x0, 0xc0, 0x4f, 0xa3, 0x22, 0xba);
  88. // SMTP onPostcategorize
  89. // {76719654-05A6-11d2-9DFD-00C04FA322BA}
  90. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnPostcategorize, "{76719654-05A6-11d2-9dfd-00C04FA322BA}");
  91. DEFINE_GUID(CATID_SMTP_TRANSPORT_POSTCATEGORIZE,
  92. 0x76719654, 0x5a6, 0x11d2, 0x9d, 0xfd, 0x0, 0xc0, 0x4f, 0xa3, 0x22, 0xba);
  93. // SMTP OnTransportRouter
  94. // {283430C9-1850-11d2-9E03-00C04FA322BA}
  95. DECLARE_EVENTGUID_STRING( g_szcatidSmtpOnTransportRouter, "{283430C9-1850-11d2-9E03-00C04FA322BA}");
  96. DEFINE_GUID(CATID_SMTP_TRANSPORT_ROUTER, 0x283430c9, 0x1850, 0x11d2, 0x9e, 0x3, 0x0, 0xc0, 0x4f, 0xa3, 0x22, 0xba);
  97. // SMTP MsgTrackLog
  98. // {c6df52aa-7db0-11d2-94f4-00c04f79f1d6}
  99. DECLARE_EVENTGUID_STRING( g_szcatidSmtpMsgTrackLog, "{c6df52aa-7db0-11d2-94f4-00c04f79f1d6}");
  100. DEFINE_GUID(CATID_SMTP_MSGTRACKLOG, 0xc6df52aa, 0x7db0, 0x11d2, 0x94, 0xf4, 0x0, 0xc0, 0x4f, 0x79, 0xf1, 0xd6);
  101. // SMTP DnsResolver
  102. // {bd0b4366-8e03-11d2-94f6-00c04f79f1d6}
  103. DECLARE_EVENTGUID_STRING( g_szcatidSmtpDnsResolver, "{bd0b4366-8e03-11d2-94f6-00c04f79f1d6}");
  104. DEFINE_GUID(CATID_SMTP_DNSRESOLVERRECORDSINK, 0xbd0b4366, 0x8e03, 0x11d2, 0x94, 0xf6, 0x0, 0xc0, 0x4f, 0x79, 0xf1, 0xd6);
  105. // SMTP MaxMsgSize
  106. // {ebf159de-a67e-11d2-94f7-00c04f79f1d6}
  107. DECLARE_EVENTGUID_STRING( g_szcatidSmtpMaxMsgSize, "{ebf159de-a67e-11d2-94f7-00c04f79f1d6}");
  108. DEFINE_GUID(CATID_SMTP_MAXMSGSIZE, 0xebf159de, 0xa67e, 0x11d2, 0x94, 0xf7, 0x0, 0xc0, 0x4f, 0x79, 0xf1, 0xd6);
  109. // SMTP Log
  110. // {93d0a538-2c1e-4b68-a7c9-d73a8aa6ee97}
  111. DECLARE_EVENTGUID_STRING( g_szcatidSmtpLog, "{93d0a538-2c1e-4b68-a7c9-d73a8aa6ee97}");
  112. DEFINE_GUID(CATID_SMTP_LOG, 0x93d0a538, 0x2c1e, 0x4b68, 0xa7, 0xc9, 0xd7, 0x3a, 0x8a, 0xa6, 0xee, 0x97);
  113. // SMTP GET_AUX_DOMAIN_INFO_FLAGS
  114. // {84ff368a-fab3-43d7-bcdf-692c5b46e6b1}
  115. DECLARE_EVENTGUID_STRING( g_szcatidSmtpGetAuxDomainInfoFlags, "{84ff368a-fab3-43d7-bcdf-692c5b46e6b1}");
  116. DEFINE_GUID(CATID_SMTP_GET_AUX_DOMAIN_INFO_FLAGS, 0x84ff368a, 0xfab3, 0x43d7, 0xbc, 0xdf, 0x69, 0x2c, 0x5b, 0x46, 0xe6, 0xb1);
  117. //
  118. // CLSID of the CoCreateable categorizer
  119. //
  120. // {B23C35B7-9219-11d2-9E17-00C04FA322BA}"
  121. DEFINE_GUID(CLSID_SmtpCat, 0xb23c35b7, 0x9219, 0x11d2, 0x9e, 0x17, 0x0, 0xc0, 0x4f, 0xa3, 0x22, 0xba);
  122. //
  123. // SMTP DSN
  124. //
  125. // {22B55731-F5F8-4d23-BD8F-87B52371A73A}
  126. DECLARE_EVENTGUID_STRING( g_szcatidSmtpDSN, "{22B55731-F5F8-4D23-BD8F-87B52371A73A}");
  127. DEFINE_GUID(CATID_SMTP_DSN, 0x22b55731, 0xf5f8, 0x4d23, 0xbd, 0x8f, 0x87, 0xb5, 0x23, 0x71, 0xa7, 0x3a);
  128. #define SZ_PROGID_SMTPCAT "Smtp.Cat"
  129. #endif //__SMTPGUID_H__