次の方法で共有


2.2.32 FW_RULE_ORIGIN_TYPE

This enumeration represents where the policy object is stored and from where it originates.

 typedef  enum _tag_FW_RULE_ORIGIN_TYPE
 {
   FW_RULE_ORIGIN_INVALID = 0,
   FW_RULE_ORIGIN_LOCAL = 1,
   FW_RULE_ORIGIN_GP = 2,
   FW_RULE_ORIGIN_DYNAMIC = 3,
   FW_RULE_ORIGIN_AUTOGEN = 4,
   FW_RULE_ORIGIN_HARDCODED = 5,
   FW_RULE_ORIGIN_MDM = 6,
   FW_RULE_ORIGIN_MAX = 7,
   FW_RULE_ORIGIN_HOST_LOCAL = 8,
   FW_RULE_ORIGIN_HOST_GP = 9,
   FW_RULE_ORIGIN_HOST_DYNAMIC = 10,
   FW_RULE_ORIGIN_HOST_MDM = 11,
   FW_RULE_ORIGIN_HOST_MAX = 12
 } FW_RULE_ORIGIN_TYPE;

FW_RULE_ORIGIN_INVALID:  On enumeration, this value is invalid, and MUST NOT be used by the server. It is defined for simplicity in writing IDL definitions and code. However, the server ignores the fields of this data type on input, and hence it is valid for filling rules. This symbolic constant has a value of 0.

FW_RULE_ORIGIN_LOCAL:  Specifies that the policy object originates from the local store. This symbolic constant has a value of 1.

FW_RULE_ORIGIN_GP:  Specifies that the policy object originates from the GP store. This symbolic constant has a value of 2.

FW_RULE_ORIGIN_DYNAMIC:  Specifies that the policy object originates from the dynamic store. This symbolic constant has a value of 3.

FW_RULE_ORIGIN_AUTOGEN:  Not used. This symbolic constant has a value of 4.

FW_RULE_ORIGIN_HARDCODED:  Specifies that the policy object originates from the firewall and advanced security component hard-coded values and is used due to lack of user settings. These values are not configurable and are not addressed in this protocol specification. Specific implementations of firewall and advanced security components can choose what hard-coded values to use when no other user settings are available. The only policy objects in this protocol specification that can have this FW_RULE_ORIGIN_HARDCODED value assigned are authentication sets and cryptographic sets, which are defined in sections 2.2.65 and 2.2.74, respectively.<5> This symbolic constant has a value of 5.

FW_RULE_ORIGIN_MDM: Specifies that the policy object originates from the MDM store. This symbolic constant has a value of 6.

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

FW_RULE_ORIGIN_HOST_LOCAL: Specifies that the policy object originates from the local store and applies to Hyper-V interfaces on the host machine. This symbolic constant has a value of 8.

FW_RULE_ORIGIN_HOST_GP: Specifies that the policy object originates from the GP store and applies to Hyper-V interfaces on the host machine. This symbolic constant has a value of 9.

FW_RULE_ORIGIN_HOST_DYNAMIC: Specifies that the policy object originates from the dynamic store and applies to Hyper-V interfaces on the host machine. This symbolic constant has a value of 10.

FW_RULE_ORIGIN_HOST_MDM: Specifies that the policy object originates from the MDM store and applies to Hyper-V interfaces on the host machine. This symbolic constant has a value of 11.

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