FWP_DATA_TYPE enumeration (fwptypes.h)

The FWP_VALUE0 or an FWP_CONDITION_VALUE0structure.

Syntax

typedef enum FWP_DATA_TYPE_ {
  FWP_EMPTY = 0,
  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_SINGLE_DATA_TYPE_MAX = 0xff,
  FWP_V4_ADDR_MASK,
  FWP_V6_ADDR_MASK,
  FWP_RANGE_TYPE,
  FWP_DATA_TYPE_MAX
} FWP_DATA_TYPE;

Constants

 
FWP_EMPTY
Value: 0
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 a signed 8-bit integer value.
FWP_INT16
Indicates a signed 16-bit integer value.
FWP_INT32
Indicates a signed 32-bit integer value.
FWP_INT64
Indicates a 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_SINGLE_DATA_TYPE_MAX
Value: 0xff
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

Requirement Value
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