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.

43 lines
784 B

  1. [description("Logs events into the Event Log")]
  2. class NTEventLogEventConsumer : __EventConsumer
  3. {
  4. [key]
  5. string Name;
  6. string UNCServerName;
  7. [NOT_NULL]
  8. string SourceName;
  9. [NOT_NULL]
  10. uint32 EventID = 0;
  11. [NOT_NULL]
  12. uint32 EventType = 1;
  13. [NOT_NULL]
  14. uint16 Category;
  15. [NOT_NULL]
  16. uint32 NumberOfInsertionStrings = 0;
  17. [Template]
  18. string InsertionStringTemplates[] = {""};
  19. };
  20. instance of __Win32Provider as $ELOGCONS_P1
  21. {
  22. Name = "NTEventLogEventConsumer";
  23. Clsid = "{266c72e6-62e8-11d1-ad89-00c04fd8fdff}";
  24. HostingModel = "WmiCore";
  25. };
  26. instance of __EventConsumerProviderRegistration
  27. {
  28. Provider = $ELOGCONS_P1;
  29. ConsumerClassNames = {"NTEventLogEventConsumer"};
  30. };