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
43 lines
784 B
|
|
|
|
[description("Logs events into the Event Log")]
|
|
class NTEventLogEventConsumer : __EventConsumer
|
|
{
|
|
[key]
|
|
string Name;
|
|
|
|
string UNCServerName;
|
|
|
|
[NOT_NULL]
|
|
string SourceName;
|
|
|
|
[NOT_NULL]
|
|
uint32 EventID = 0;
|
|
|
|
[NOT_NULL]
|
|
uint32 EventType = 1;
|
|
|
|
[NOT_NULL]
|
|
uint16 Category;
|
|
|
|
[NOT_NULL]
|
|
uint32 NumberOfInsertionStrings = 0;
|
|
|
|
[Template]
|
|
string InsertionStringTemplates[] = {""};
|
|
};
|
|
|
|
instance of __Win32Provider as $ELOGCONS_P1
|
|
{
|
|
Name = "NTEventLogEventConsumer";
|
|
Clsid = "{266c72e6-62e8-11d1-ad89-00c04fd8fdff}";
|
|
HostingModel = "WmiCore";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $ELOGCONS_P1;
|
|
ConsumerClassNames = {"NTEventLogEventConsumer"};
|
|
};
|
|
|
|
|