Creates a rule that sets up conditions for performing an action on one or more items. This command must be followed with RuleAddAction commands.
AFTKN_RULE_CREATE or 638
VOID RuleCreate( [ANSISTRING UserID];
ANSISTRING RuleName;
ENUM Event;
[ANSISTRING FolderName];
ENUM FilterHandleType;
[ENUM AppointmentConflict])
(Optional)
Name of the new rule.
Rule criteria: Activate rule on one of the following events.
|
136 |
CloseFolder |
|
158 |
Exit |
|
162 |
FiledItem |
|
185 |
NewItem |
|
194 |
OpenFolder |
|
224 |
Startup |
|
240 |
UserActivated |
The folder name when an event is CloseFolder!, FiledItem!, or OpenFolder! (Optional)
Unique filter identifier, returned by FilterCreate().
(Optional) Specifies appointment conflicts:
|
147 |
DontCare |
|
0 |
No |
|
1 |
Yes |