FWP_VALUE0 structure

The FWP_VALUE0 structure defines a data value that can be one of a number of different data types.

Syntax

typedef struct FWP_VALUE0_ {
  FWP_DATA_TYPE type;
  union {
    UINT8                 uint8;
    UINT16                uint16;
    UINT32                uint32;
    UINT64                *uint64;
    INT8                  int8;
    INT16                 int16;
    INT32                 int32;
    INT64                 *int64;
    float                 float32;
    double                *double64;
    FWP_BYTE_ARRAY16      *byteArray16;
    FWP_BYTE_BLOB         *byteBlob;
    SID                   *sid;
    FWP_BYTE_BLOB         *sd;
    FWP_TOKEN_INFORMATION *tokenInformation;
    FWP_BYTE_BLOB         *tokenAccessInformation;
    LPWSTR                unicodeString;
    FWP_BYTE_ARRAY6       *byteArray6;
    FWP_BITMAP_ARRAY64    *bitmapArray64;
  };
} FWP_VALUE0;

Members

type

The type of data for this value.

See FWP_DATA_TYPE for more information.

uint8

uint16

uint32

uint64

int8

int16

int32

int64

float32

double64

byteArray16

byteBlob

sid

sd

tokenInformation

tokenAccessInformation

unicodeString

byteArray6

bitmapArray64

Remarks

This is primarily used to supply incoming values to the filter engine.

When IP addresses are stored in FWP_UINT32 format or when IP port is stored in FWP_UINT16 format, they are stored in host-order not network-order.

FWP_VALUE0 is a specific implementation of FWP_VALUE. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

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_DATA_TYPE

Windows Filtering Platform API Structures