FWP_DATA_TYPE enumeration

The FWP_VALUE0 or an FWP_CONDITION_VALUE0structure.

Syntax

typedef enum FWP_DATA_TYPE_ {
  FWP_EMPTY,
  FWP_UINT8,
  FWP_UINT16,
  FWP_UINT32,
  FWP_UINT64,
  FWP_INT8,
  FWP_INT16,
  FWP_INT32,
  FWP_INT64,
  FWP_FLOAT,
  FWP_DOUBLE,
  FWP_BYTE_ARRAY16_TYPE,
  FWP_BYTE_BLOB_TYPE,
  FWP_SID,
  FWP_SECURITY_DESCRIPTOR_TYPE,
  FWP_TOKEN_INFORMATION_TYPE,
  FWP_TOKEN_ACCESS_INFORMATION_TYPE,
  FWP_UNICODE_STRING_TYPE,
  FWP_BYTE_ARRAY6_TYPE,
  FWP_BITMAP_INDEX_TYPE,
  FWP_BITMAP_ARRAY64_TYPE,
  FWP_SINGLE_DATA_TYPE_MAX,
  FWP_V4_ADDR_MASK,
  FWP_V6_ADDR_MASK,
  FWP_RANGE_TYPE,
  FWP_DATA_TYPE_MAX
} FWP_DATA_TYPE;

Constants

FWP_EMPTY Indicates no data.
FWP_UINT8 Indicates an unsigned 8-bit integer value.
FWP_UINT16 Indicates an unsigned 16-bit integer value.
FWP_UINT32 Indicates an unsigned 32-bit integer value.
FWP_UINT64 Indicates an unsigned 64-bit integer value.
FWP_INT8 Indicates an signed 8-bit integer value.
FWP_INT16 Indicates an signed 16-bit integer value.
FWP_INT32 Indicates an signed 32-bit integer value.
FWP_INT64 Indicates an signed 64-bit integer value.
FWP_FLOAT Indicates a pointer to a single-precision floating-point value.
FWP_DOUBLE Indicates a pointer to a double-precision floating-point value.
FWP_BYTE_ARRAY16_TYPE Indicates a pointer to an FWP_BYTE_ARRAY16 structure.
FWP_BYTE_BLOB_TYPE Indicates a pointer to an FWP_BYTE_BLOB structure.
FWP_SID Indicates a pointer to a SID.
FWP_SECURITY_DESCRIPTOR_TYPE Indicates a pointer to an FWP_BYTE_BLOB structure that describes a security descriptor.
FWP_TOKEN_INFORMATION_TYPE Indicates a pointer to an FWP_BYTE_BLOB structure that describes token information.
FWP_TOKEN_ACCESS_INFORMATION_TYPE Indicates a pointer to an FWP_BYTE_BLOB structure that describes token access information.
FWP_UNICODE_STRING_TYPE Indicates a pointer to a null-terminated unicode string.
FWP_BYTE_ARRAY6_TYPE Reserved.
FWP_BITMAP_INDEX_TYPE
FWP_BITMAP_ARRAY64_TYPE
FWP_SINGLE_DATA_TYPE_MAX Reserved for future use.
FWP_V4_ADDR_MASK Indicates a pointer to an FWP_V4_ADDR_AND_MASK structure.
FWP_V6_ADDR_MASK Indicates a pointer to an FWP_V6_ADDR_AND_MASK structure.
FWP_RANGE_TYPE Indicates a pointer to an FWP_RANGE0 structure.
FWP_DATA_TYPE_MAX Maximum value for testing purposes.

Remarks

Not all data types are valid for each structure; see the tagged union in each structure to determine which are allowed.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header fwptypes.h

See also

FWP_BYTE_ARRAY16

FWP_BYTE_BLOB

FWP_CONDITION_VALUE0

FWP_RANGE0

FWP_V4_ADDR_AND_MASK

FWP_V6_ADDR_AND_MASK

FWP_VALUE0