次の方法で共有


2.2.19 FW_DIRECTION

This enumeration represents the direction of network traffic flow.

 typedef  enum _tag_FW_DIRECTION
 {
   FW_DIR_INVALID = 0,
   FW_DIR_IN,
   FW_DIR_OUT,
   FW_DIR_MAX
 } FW_DIRECTION;

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

FW_DIR_IN:  Specifies an inbound network traffic flow. These are flows that are initiated by a remote machine toward the local machine. This symbolic constant has a value of 1.

FW_DIR_OUT:  Specifies an outbound network traffic flow. These are flows that are initiated by the local machine toward a remote machine. This symbolic constant has a value of 2.

FW_DIR_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.