FWP_DATA_TYPE (Compact 7)
3/12/2014
The FWP_DATA_TYPE enumeration type specifies data types that can be stored in an FWP_VALUE0 or an FWP_CONDITION_VALUE0 structure.
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_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
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_SINGLE_DATA_TYPE_MAX
Reserved.
- 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
Header |
fwpmu.h |