2.2.1.3 RuleData Structure

The RuleData structure contains properties and flags that provide details about a standard rule. The format of the RuleData structure is as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RuleDataFlags

PropertyValueCount

PropertyValues (variable)

...

RuleDataFlags (1 byte): A value that contains flags specifying whether the rule (2) is to be added, modified, or deleted. The valid values are specified in the following table.

Flag name

Value

Description

ROW_ADD

0x01

Adds the data in the rule buffer to the rule set as a new rule (2).

ROW_MODIFY

0x02

Modifies the existing rule (2) identified by the value of the PidTagRuleId property (section 2.2.1.3.1.1).

ROW_REMOVE

0x04

Removes from the rule set the rule (2) that has the same value of the PidTagRuleId property.

PropertyValueCount (2 bytes):  An integer that specifies the number of properties that are specified in the PropertyValues field. This field MUST be greater than zero.

PropertyValues (variable):  An array of TaggedPropertyValue structures, as specified in [MS-OXCDATA] section 2.11.4, each of which contains one property of a standard rule. This field MUST contain only properties that are valid for a standard rule, as specified in section 2.2.1.3.1. The number of TaggedPropertyValue structures contained in this field is specified in the PropertyValueCount field.

Show: