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
288 lines
7.3 KiB
#pragma autorecover
|
|
|
|
class MessageBoxEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
string Title;
|
|
string Text;
|
|
};
|
|
|
|
class EmailEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
string Subject;
|
|
string Message;
|
|
[not_null] string ToLine;
|
|
string CcLine;
|
|
string BccLine;
|
|
boolean IsHTML = FALSE;
|
|
sint32 Importance = 1;
|
|
};
|
|
|
|
|
|
class LogFileEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
[Description("Fully qualified path name for the log file."
|
|
"If file does not exist, it will be created."
|
|
"If directory does not exist, file will not be created.")]
|
|
string Filename;
|
|
string Text;
|
|
|
|
[Description("Maximum size to which file is allowed to grow. It will "
|
|
"be archived when it exceeds this size. Archived files "
|
|
"have an extension of .001 through .999. A value of zero "
|
|
"will be interpreted to mean 'do not archive.' ")]
|
|
uint64 MaximumFileSize = 0;
|
|
|
|
[Description("If FALSE or NULL, file will not be Unicode.")]
|
|
boolean IsUnicode;
|
|
};
|
|
|
|
class PerformanceEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
string Filename;
|
|
string Text;
|
|
sint32 CountToLog;
|
|
};
|
|
|
|
class CommandLineEventConsumer : __EventConsumer
|
|
{
|
|
[key]
|
|
string Name;
|
|
|
|
string ExecutablePath;
|
|
|
|
[Template]
|
|
string CommandLineTemplate;
|
|
|
|
boolean UseDefaultErrorMode = FALSE;
|
|
|
|
boolean CreateNewConsole = FALSE;
|
|
|
|
boolean CreateNewProcessGroup = FALSE;
|
|
|
|
boolean CreateSeparateWowVdm = FALSE;
|
|
|
|
boolean CreateSharedWowVdm = FALSE;
|
|
|
|
sint32 Priority = 32;
|
|
|
|
string WorkingDirectory;
|
|
|
|
string DesktopName;
|
|
|
|
[Template]
|
|
string WindowTitle;
|
|
|
|
uint32 XCoordinate;
|
|
|
|
uint32 YCoordinate;
|
|
|
|
uint32 XSize;
|
|
|
|
uint32 YSize;
|
|
|
|
uint32 XNumCharacters;
|
|
|
|
uint32 YNumCharacters;
|
|
|
|
uint32 FillAttribute;
|
|
|
|
uint32 ShowWindowCommand;
|
|
|
|
boolean ForceOnFeedback = FALSE;
|
|
|
|
boolean ForceOffFeedback = FALSE;
|
|
|
|
boolean RunInteractively = FALSE;
|
|
|
|
[description("Number of seconds that child process is allowed to run"
|
|
"if zero, process will not be terminated")]
|
|
uint32 KillTimeout = 0;
|
|
};
|
|
|
|
[description("Logs events into NT event log")]
|
|
class NTEventLogEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
string UNCServerName;
|
|
string SourceName;
|
|
[not_null] uint32 EventID;
|
|
uint32 EventType = 1;
|
|
uint32 Category;
|
|
uint32 NumberOfInsertionStrings = 0;
|
|
string InsertionStringTemplates[] = {""};
|
|
};
|
|
|
|
class ActiveScriptEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
string ScriptingEngine;
|
|
string ScriptText;
|
|
string ScriptFilename;
|
|
|
|
[description("Number of seconds that script is allowed to run"
|
|
"if zero, script will not be terminated")]
|
|
|
|
uint32 KillTimeout = 0;
|
|
|
|
};
|
|
|
|
class ConsoleEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
string Text;
|
|
};
|
|
|
|
[description("Relays alpha-numeric message to a pager "
|
|
"This consumer expects the Pager Service Provider "
|
|
"to adhere to the national standard 'Telocator "
|
|
"Alphanumeric Protocol (TAP)'")]
|
|
class PagerEventConsumer : __EventConsumer
|
|
{
|
|
[key] string Name;
|
|
|
|
[description("Number to dial. See modem documentation for allowable characters"
|
|
"Note that this number is usually different than the number dialed"
|
|
"manually.")]
|
|
string PhoneNumber;
|
|
|
|
[description("ID of the pager owner, this may be the manual-dial phone number.")]
|
|
string ID;
|
|
|
|
[description("Alphanumeric message to send. Note that this message must be "
|
|
"composed entirely of 7-bit ASCII characters. The use of "
|
|
"printable characters is highly recommended.")]
|
|
string Message;
|
|
|
|
[description("Port that is connected to modem, e.g. COM1")]
|
|
string Port;
|
|
|
|
[description("Maximum baud rate supported by the pager service provider, "
|
|
" if NULL, the PagerEventConsumer will use modem defaults")]
|
|
uint32 BaudRate;
|
|
|
|
[description("Additional setup string required by modem or pager service provider "
|
|
"the PagerEventConsumer will set the modem settings to those required "
|
|
"by the Telocator Alphanumeric Protocol (TAP) standard. If further "
|
|
"adjustments are required by your modem or by your pager service provider "
|
|
"you may enter those here. Note that these settings override the settings "
|
|
"suggested by the standard and so should be used carefully. This string "
|
|
"should be left NULL in most cases. "
|
|
"The standard settings are Even Parity, Seven Data Bits, and One Stop Bit.")]
|
|
string ModemSetupString;
|
|
|
|
[description("Number of seconds to wait for pager service provider to answer.")]
|
|
uint32 AnswerTimeout=30;
|
|
};
|
|
|
|
instance of __Win32Provider as $P1
|
|
{
|
|
Name = "MessageBoxEventConsumer";
|
|
Clsid = "{266c72d2-62e8-11d1-ad89-00c04fd8fdff}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P1;
|
|
ConsumerClassNames = {"MessageBoxEventConsumer"};
|
|
};
|
|
|
|
instance of __Win32Provider as $P2
|
|
{
|
|
Name = "EmailEventConsumer";
|
|
Clsid = "{266c72d3-62e8-11d1-ad89-00c04fd8fdff}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P2;
|
|
ConsumerClassNames = {"EmailEventConsumer"};
|
|
};
|
|
|
|
instance of __Win32Provider as $P3
|
|
{
|
|
Name = "LogFileEventConsumer";
|
|
Clsid = "{266c72d4-62e8-11d1-ad89-00c04fd8fdff}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P3;
|
|
ConsumerClassNames = {"LogFileEventConsumer"};
|
|
};
|
|
|
|
instance of __Win32Provider as $P4
|
|
{
|
|
Name = "CommandLineEventConsumer";
|
|
Clsid = "{266c72e5-62e8-11d1-ad89-00c04fd8fdff}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P4;
|
|
ConsumerClassNames = {"CommandLineEventConsumer"};
|
|
};
|
|
|
|
instance of __Win32Provider as $P5
|
|
{
|
|
Name = "NTEventLogEventConsumer";
|
|
Clsid = "{266c72e6-62e8-11d1-ad89-00c04fd8fdff}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P5;
|
|
ConsumerClassNames = {"NTEventLogEventConsumer"};
|
|
};
|
|
|
|
instance of __Win32Provider as $P6
|
|
{
|
|
Name = "ActiveScriptEventConsumer";
|
|
Clsid = "{266c72e7-62e8-11d1-ad89-00c04fd8fdff}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P6;
|
|
ConsumerClassNames = {"ActiveScriptEventConsumer"};
|
|
};
|
|
|
|
instance of __Win32Provider as $P7
|
|
{
|
|
Name = "ConsoleEventConsumer";
|
|
Clsid = "{266c72f2-62e8-11d1-ad89-00c04fd8fdff}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P7;
|
|
ConsumerClassNames = {"ConsoleEventConsumer"};
|
|
};
|
|
|
|
instance of __Win32Provider as $P8
|
|
{
|
|
Name = "PerformanceEventConsumer";
|
|
Clsid = "{266c72f8-62e8-11d1-ad89-00c04fd8fdff}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P8;
|
|
ConsumerClassNames = {"PerformanceEventConsumer"};
|
|
};
|
|
|
|
instance of __Win32Provider as $P9
|
|
{
|
|
Name = "PagerEventConsumer";
|
|
Clsid = "{C7A3A54A-0250-11d3-9CD1-00105A1F4801}";
|
|
};
|
|
|
|
instance of __EventConsumerProviderRegistration
|
|
{
|
|
Provider = $P9;
|
|
ConsumerClassNames = {"PagerEventConsumer"};
|
|
};
|
|
|