FWP_DATA_TYPE enumeration

The FWP_DATA_TYPE enumeration type specifies a type of data.

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

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 a pointer to 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 pointer to a signed 64-bit integer value.

FWP_FLOAT

Indicates a single-precision floatin-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 security identifier (SID) structure. For more information about the SID structure, see the description for the SID structure in the Microsoft Windows SDK documentation.

FWP_SECURITY_DESCRIPTOR_TYPE

Indicates a pointer to an FWP_BYTE_BLOB structure in which the Data member points to a SECURITY_DESCRIPTOR structure that specifies security information.

FWP_TOKEN_INFORMATION_TYPE

Indicates a pointer to an FWP_TOKEN_INFORMATION structure that describes token information.

FWP_TOKEN_ACCESS_INFORMATION_TYPE

Indicates a pointer to an FWP_BYTE_BLOB structure in which the Data member points to a TOKEN_ACCESS_INFORMATION structure that specifies token access information.

FWP_UNICODE_STRING_TYPE

Indicates a pointer to a null-terminated string of Unicode characters.

FWP_BYTE_ARRAY6_TYPE

Indicates a pointer to an FWP_BYTE_ARRAY6 structure.

FWP_SINGLE_DATA_TYPE_MAX

A maximum value for testing purposes.

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

The maximum value for this enumeration. This value might change in future versions of the NDIS header files and binaries.

Remarks

The FWP_VALUE0 and FWP_CONDITION_VALUE0 structures each contain a member of type FWP_DATA_TYPE that specifies the type of data that is contained within the structure.

Requirements

Version

Supported starting with Windows Vista.

Header

Fwptypes.h (include Fwpsk.h)

See also

FWP_BYTE_ARRAY16
FWP_BYTE_BLOB
FWP_CONDITION_VALUE0
FWP_RANGE0
FWP_TOKEN_INFORMATION
FWP_V4_ADDR_AND_MASK
FWP_V6_ADDR_AND_MASK
FWP_VALUE0

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft