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.

288 lines
7.3 KiB

  1. #pragma autorecover
  2. class MessageBoxEventConsumer : __EventConsumer
  3. {
  4. [key] string Name;
  5. string Title;
  6. string Text;
  7. };
  8. class EmailEventConsumer : __EventConsumer
  9. {
  10. [key] string Name;
  11. string Subject;
  12. string Message;
  13. [not_null] string ToLine;
  14. string CcLine;
  15. string BccLine;
  16. boolean IsHTML = FALSE;
  17. sint32 Importance = 1;
  18. };
  19. class LogFileEventConsumer : __EventConsumer
  20. {
  21. [key] string Name;
  22. [Description("Fully qualified path name for the log file."
  23. "If file does not exist, it will be created."
  24. "If directory does not exist, file will not be created.")]
  25. string Filename;
  26. string Text;
  27. [Description("Maximum size to which file is allowed to grow. It will "
  28. "be archived when it exceeds this size. Archived files "
  29. "have an extension of .001 through .999. A value of zero "
  30. "will be interpreted to mean 'do not archive.' ")]
  31. uint64 MaximumFileSize = 0;
  32. [Description("If FALSE or NULL, file will not be Unicode.")]
  33. boolean IsUnicode;
  34. };
  35. class PerformanceEventConsumer : __EventConsumer
  36. {
  37. [key] string Name;
  38. string Filename;
  39. string Text;
  40. sint32 CountToLog;
  41. };
  42. class CommandLineEventConsumer : __EventConsumer
  43. {
  44. [key]
  45. string Name;
  46. string ExecutablePath;
  47. [Template]
  48. string CommandLineTemplate;
  49. boolean UseDefaultErrorMode = FALSE;
  50. boolean CreateNewConsole = FALSE;
  51. boolean CreateNewProcessGroup = FALSE;
  52. boolean CreateSeparateWowVdm = FALSE;
  53. boolean CreateSharedWowVdm = FALSE;
  54. sint32 Priority = 32;
  55. string WorkingDirectory;
  56. string DesktopName;
  57. [Template]
  58. string WindowTitle;
  59. uint32 XCoordinate;
  60. uint32 YCoordinate;
  61. uint32 XSize;
  62. uint32 YSize;
  63. uint32 XNumCharacters;
  64. uint32 YNumCharacters;
  65. uint32 FillAttribute;
  66. uint32 ShowWindowCommand;
  67. boolean ForceOnFeedback = FALSE;
  68. boolean ForceOffFeedback = FALSE;
  69. boolean RunInteractively = FALSE;
  70. [description("Number of seconds that child process is allowed to run"
  71. "if zero, process will not be terminated")]
  72. uint32 KillTimeout = 0;
  73. };
  74. [description("Logs events into NT event log")]
  75. class NTEventLogEventConsumer : __EventConsumer
  76. {
  77. [key] string Name;
  78. string UNCServerName;
  79. string SourceName;
  80. [not_null] uint32 EventID;
  81. uint32 EventType = 1;
  82. uint32 Category;
  83. uint32 NumberOfInsertionStrings = 0;
  84. string InsertionStringTemplates[] = {""};
  85. };
  86. class ActiveScriptEventConsumer : __EventConsumer
  87. {
  88. [key] string Name;
  89. string ScriptingEngine;
  90. string ScriptText;
  91. string ScriptFilename;
  92. [description("Number of seconds that script is allowed to run"
  93. "if zero, script will not be terminated")]
  94. uint32 KillTimeout = 0;
  95. };
  96. class ConsoleEventConsumer : __EventConsumer
  97. {
  98. [key] string Name;
  99. string Text;
  100. };
  101. [description("Relays alpha-numeric message to a pager "
  102. "This consumer expects the Pager Service Provider "
  103. "to adhere to the national standard 'Telocator "
  104. "Alphanumeric Protocol (TAP)'")]
  105. class PagerEventConsumer : __EventConsumer
  106. {
  107. [key] string Name;
  108. [description("Number to dial. See modem documentation for allowable characters"
  109. "Note that this number is usually different than the number dialed"
  110. "manually.")]
  111. string PhoneNumber;
  112. [description("ID of the pager owner, this may be the manual-dial phone number.")]
  113. string ID;
  114. [description("Alphanumeric message to send. Note that this message must be "
  115. "composed entirely of 7-bit ASCII characters. The use of "
  116. "printable characters is highly recommended.")]
  117. string Message;
  118. [description("Port that is connected to modem, e.g. COM1")]
  119. string Port;
  120. [description("Maximum baud rate supported by the pager service provider, "
  121. " if NULL, the PagerEventConsumer will use modem defaults")]
  122. uint32 BaudRate;
  123. [description("Additional setup string required by modem or pager service provider "
  124. "the PagerEventConsumer will set the modem settings to those required "
  125. "by the Telocator Alphanumeric Protocol (TAP) standard. If further "
  126. "adjustments are required by your modem or by your pager service provider "
  127. "you may enter those here. Note that these settings override the settings "
  128. "suggested by the standard and so should be used carefully. This string "
  129. "should be left NULL in most cases. "
  130. "The standard settings are Even Parity, Seven Data Bits, and One Stop Bit.")]
  131. string ModemSetupString;
  132. [description("Number of seconds to wait for pager service provider to answer.")]
  133. uint32 AnswerTimeout=30;
  134. };
  135. instance of __Win32Provider as $P1
  136. {
  137. Name = "MessageBoxEventConsumer";
  138. Clsid = "{266c72d2-62e8-11d1-ad89-00c04fd8fdff}";
  139. };
  140. instance of __EventConsumerProviderRegistration
  141. {
  142. Provider = $P1;
  143. ConsumerClassNames = {"MessageBoxEventConsumer"};
  144. };
  145. instance of __Win32Provider as $P2
  146. {
  147. Name = "EmailEventConsumer";
  148. Clsid = "{266c72d3-62e8-11d1-ad89-00c04fd8fdff}";
  149. };
  150. instance of __EventConsumerProviderRegistration
  151. {
  152. Provider = $P2;
  153. ConsumerClassNames = {"EmailEventConsumer"};
  154. };
  155. instance of __Win32Provider as $P3
  156. {
  157. Name = "LogFileEventConsumer";
  158. Clsid = "{266c72d4-62e8-11d1-ad89-00c04fd8fdff}";
  159. };
  160. instance of __EventConsumerProviderRegistration
  161. {
  162. Provider = $P3;
  163. ConsumerClassNames = {"LogFileEventConsumer"};
  164. };
  165. instance of __Win32Provider as $P4
  166. {
  167. Name = "CommandLineEventConsumer";
  168. Clsid = "{266c72e5-62e8-11d1-ad89-00c04fd8fdff}";
  169. };
  170. instance of __EventConsumerProviderRegistration
  171. {
  172. Provider = $P4;
  173. ConsumerClassNames = {"CommandLineEventConsumer"};
  174. };
  175. instance of __Win32Provider as $P5
  176. {
  177. Name = "NTEventLogEventConsumer";
  178. Clsid = "{266c72e6-62e8-11d1-ad89-00c04fd8fdff}";
  179. };
  180. instance of __EventConsumerProviderRegistration
  181. {
  182. Provider = $P5;
  183. ConsumerClassNames = {"NTEventLogEventConsumer"};
  184. };
  185. instance of __Win32Provider as $P6
  186. {
  187. Name = "ActiveScriptEventConsumer";
  188. Clsid = "{266c72e7-62e8-11d1-ad89-00c04fd8fdff}";
  189. };
  190. instance of __EventConsumerProviderRegistration
  191. {
  192. Provider = $P6;
  193. ConsumerClassNames = {"ActiveScriptEventConsumer"};
  194. };
  195. instance of __Win32Provider as $P7
  196. {
  197. Name = "ConsoleEventConsumer";
  198. Clsid = "{266c72f2-62e8-11d1-ad89-00c04fd8fdff}";
  199. };
  200. instance of __EventConsumerProviderRegistration
  201. {
  202. Provider = $P7;
  203. ConsumerClassNames = {"ConsoleEventConsumer"};
  204. };
  205. instance of __Win32Provider as $P8
  206. {
  207. Name = "PerformanceEventConsumer";
  208. Clsid = "{266c72f8-62e8-11d1-ad89-00c04fd8fdff}";
  209. };
  210. instance of __EventConsumerProviderRegistration
  211. {
  212. Provider = $P8;
  213. ConsumerClassNames = {"PerformanceEventConsumer"};
  214. };
  215. instance of __Win32Provider as $P9
  216. {
  217. Name = "PagerEventConsumer";
  218. Clsid = "{C7A3A54A-0250-11d3-9CD1-00105A1F4801}";
  219. };
  220. instance of __EventConsumerProviderRegistration
  221. {
  222. Provider = $P9;
  223. ConsumerClassNames = {"PagerEventConsumer"};
  224. };