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.

173 lines
10 KiB

  1. ��/************************************************************************
  2. THIS IS THE MASTER MOF. ALL CHANGES MUST OCCUR TO THIS MOF
  3. To make a change:
  4. 1. edit this MOF
  5. 2. Generate new mof & mfl: mofcomp -amendment:ms_409 -MOF:fconprov.mof -MFL:fconprov.mfl fconprov_Master.mof
  6. 3. edit fconprov.mfl to keep it namespace agnostic.
  7. *************************************************************************/
  8. Qualifier Description : Amended;
  9. /*****************************************************************************
  10. Core Schema
  11. ******************************************************************************/
  12. [
  13. Locale(0x409),
  14. Description( "An event consumer that forwards messages to a remote "
  15. "machine when it is notified of events." )
  16. ]
  17. class MSFT_ForwardingConsumer : __EventConsumer
  18. {
  19. [
  20. Key,
  21. Description( "A string uniquely identifying this consumer." )
  22. ]
  23. string Name;
  24. [
  25. Description( "An array of addresses to forward the messages to. The "
  26. "forwarding consumer will try to forward the message, "
  27. "in order, to each address in the list until it "
  28. "successfully sends it to one of them." )
  29. ]
  30. string Targets[];
  31. [
  32. Values{ 0 },
  33. Value_Map{ "Synchronous" },
  34. Description( "The Quality-of-Service used to forward the message." )
  35. ]
  36. sint32 ForwardingQoS = 0;
  37. [
  38. Description( "Indicates whether to include authentication information "
  39. "when forwarding the message." )
  40. ]
  41. boolean Authenticate = TRUE;
  42. [
  43. Description( "Indicates whether to encrypt the message before "
  44. "forwarding." )
  45. ]
  46. boolean Encryption = TRUE;
  47. [
  48. Description( "An SD, in SDDL format, that is attached to the "
  49. "forwarded event when it is raised on the receiving end."
  50. "This SD indates to the receiver which security "
  51. "identities are allowed to consume the forwarded event." )
  52. ]
  53. string TargetSD;
  54. [
  55. Description( "Indicates whether to send schema information for the "
  56. "event to be forwarded. " )
  57. ]
  58. boolean IncludeSchema = FALSE;
  59. };
  60. [
  61. Locale(0x409),
  62. Description( "The base class for all forwarding consumer trace events." )
  63. ]
  64. class MSFT_FCTraceEventBase : __ExtrinsicEvent
  65. {
  66. [
  67. Description( "Instance of the forwarding consumer that is being "
  68. "executed." )
  69. ]
  70. MSFT_ForwardingConsumer Consumer;
  71. [
  72. Description( "A unique id representing the execution of a forwarding "
  73. "consumer. This id permits correlation of all the trace "
  74. "events associated with an execution of the consumer." )
  75. ]
  76. string ExecutionId;
  77. [
  78. Description( "The status code representing the outcome of the action "
  79. "the trace event is associated with." )
  80. ]
  81. uint32 StatusCode;
  82. };
  83. [
  84. Locale(0x409),
  85. Description( "Represents an execution of the forwarding consumer. There "
  86. "is exactly one of these events signaled each time an event "
  87. "triggers a forwarding consumer to be executed." )
  88. ]
  89. class MSFT_FCExecutedTraceEvent : MSFT_FCTraceEventBase
  90. {
  91. [
  92. Description( "The target used to forward the message. If the "
  93. "status code indicates an error, this means that no "
  94. "target was used and this value will be NULL." )
  95. ]
  96. string TargetUsed;
  97. [
  98. Description( "Indicates whether the message was queued for forwarding "
  99. "at a later time." )
  100. ]
  101. boolean Queued;
  102. [
  103. Description( "The array of events that were forwarded." )
  104. ]
  105. __Event Events[];
  106. };
  107. [
  108. Locale(0x409),
  109. Description( "Represents the attempt to forward a message to a target." )
  110. ]
  111. class MSFT_FCTargetTraceEvent : MSFT_FCTraceEventBase
  112. {
  113. [
  114. Description( "The low-level target address that was used when "
  115. "attempting to forward the message." )
  116. ]
  117. string Target;
  118. };
  119. /****************************************************************************
  120. Internal Schema and Registrations
  121. *****************************************************************************/
  122. instance of __Win32Provider as $PE
  123. {
  124. Name = "Microsoft WMI Forwarding Consumer Trace Event Provider";
  125. Clsid = "{AD1B46E8-0AAC-401b-A3B8-FCDCF8186F55}";
  126. HostingModel = "Decoupled:Com";
  127. };
  128. instance of __EventProviderRegistration
  129. {
  130. Provider = $PE;
  131. EventQueryList = { "SELECT * FROM MSFT_FCTraceEventBase" };
  132. };
  133. instance of __Win32Provider as $P
  134. {
  135. Name = "Microsoft WMI Forwarding Consumer Provider";
  136. Clsid = "{AD1B46E8-0AAC-401b-A3B8-FCDCF8186F55}";
  137. HostingModel = "WmiCore";
  138. };
  139. instance of __EventConsumerProviderRegistration
  140. {
  141. Provider = $P;
  142. ConsumerClassNames = { "MSFT_ForwardingConsumer" };
  143. };