2.2.3 FW_POLICY_ACCESS_RIGHT

This enumeration defines access rights for the policy elements that can be accessed using the Firewall and Advanced Security Protocol. The values are not bitmasks and SHOULD NOT be used in bitwise OR operations.

 typedef  enum _tag_FW_POLICY_ACCESS_RIGHT
 {
   FW_POLICY_ACCESS_RIGHT_INVALID,
   FW_POLICY_ACCESS_RIGHT_READ,
   FW_POLICY_ACCESS_RIGHT_READ_WRITE,
   FW_POLICY_ACCESS_RIGHT_MAX
 } FW_POLICY_ACCESS_RIGHT;

FW_POLICY_ACCESS_RIGHT_INVALID:  This value is invalid and MUST NOT be used. It is defined for simplicity in writing IDL definitions and code. This symbolic constant has a value of zero.

FW_POLICY_ACCESS_RIGHT_READ:  This value represents a read-only access right. This symbolic constant has a value of 1.

FW_POLICY_ACCESS_RIGHT_READ_WRITE:  This value represents a read and write access right. This symbolic constant has a value of 2.

FW_POLICY_ACCESS_RIGHT_MAX:  This value and values that exceed this value are not valid and MUST NOT be used. This symbolic constant is defined for simplicity in writing IDL definitions and code. It has a value of 3.