2.2.1.1 RopModifyRules ROP Request Buffer

The following descriptions define valid fields for the RopModifyRules ROP request buffer ([MS-OXCROPS] section 2.2.11.1.1).

InputHandleIndex (1 byte): The index to the input handle for this operation, which is a Folder object handle representing the folder for which rules (2) are to be modified.

ModifyRulesFlags (1 byte): A bitmask that specifies how the rules (2) included in this structure are created on the server. Its structure is as follows.

0

1

2

3

4

5

6

7

x

x

x

x

x

x

x

R

R (Bitmask 0x01): If this bit is set, the rules (2) in this request are to replace the existing set of rules (2) in the folder; in this case, all subsequent RuleData structures, as specified in section 2.2.1.3, MUST have the ROW_ADD flag as the value of their RuleDataFlags field, as specified in section 2.2.1.3.1. If this bit is not set, the rules (2) specified in this request represent changes (delete, modify, and add) to the set of rules (2) already existing in this folder.

x: Unused. This bit MUST be set to zero (0) when sent.

RulesCount (2 bytes): An integer that specifies the number of RuleData structures present in the RulesData field.

RulesData (variable): An array of RuleData structures, each of which specifies details about a standard rule. The format of the RuleData structure is specified in section 2.2.1.3.