Skip to content

Latest commit

 

History

History
252 lines (157 loc) · 6.17 KB

ns-fwptypes-fwp_condition_value0.md

File metadata and controls

252 lines (157 loc) · 6.17 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:fwptypes.FWP_CONDITION_VALUE0_
FWP_CONDITION_VALUE0 (fwptypes.h)
Contains values that are used in filter conditions when testing for matching filters.
FWP_CONDITION_VALUE0
FWP_CONDITION_VALUE0 structure [Filtering]
fwp.fwp_condition_value0
fwptypes/FWP_CONDITION_VALUE0
fwp\fwp_condition_value0.htm
fwp
edc34005-dbc1-45a4-b6c7-fbb8b13fa388
12/05/2018
FWP_CONDITION_VALUE0, FWP_CONDITION_VALUE0 structure [Filtering], fwp.fwp_condition_value0, fwptypes/FWP_CONDITION_VALUE0
fwptypes.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Fwptypes.idl
Windows
FWP_CONDITION_VALUE0
19H1
FWP_CONDITION_VALUE0_
fwptypes/FWP_CONDITION_VALUE0_
FWP_CONDITION_VALUE0
fwptypes/FWP_CONDITION_VALUE0
c++
APIRef
kbSyntax
HeaderDef
Fwptypes.h
FWP_CONDITION_VALUE0

FWP_CONDITION_VALUE0 structure

-description

The FWP_CONDITION_VALUE0 structure contains values that are used in filter conditions when testing for matching filters.

-struct-fields

-field type

Specifies the data type of the condition value.

See FWP_DATA_TYPE for more information.

-field uint8

Available when type is FWP_UINT8.

An unsigned 8-bit integer.

-field uint16

Available when type is FWP_UINT16.

An unsigned 16-bit integer.

-field uint32

Available when type is FWP_UINT32.

An unsigned 32-bit integer.

-field uint64

Available when type is FWP_UINT64.

A pointer to an unsigned 64-bit integer.

Note

This value cannot be null.

-field int8

Available when type is FWP_INT8.

A signed 8-bit integer.

-field int16

Available when type is FWP_INT16.

A signed 16-bit integer.

-field int32

Available when type is FWP_INT32.

A signed 32-bit integer.

-field int64

Available when type is FWP_INT64.

A pointer to a signed 64-bit integer.

Note

This value cannot be null.

-field float32

Available when type is FWP_FLOAT.

A single-precision floating-point value.

-field double64

Available when type is FWP_DOUBLE.

A pointer to a double-precision floating-point value.

Note

This value cannot be null.

-field byteArray16

Available when type is FWP_BYTE_ARRAY16_TYPE.

A pointer to a FWP_BYTE_ARRAY16 structure.

Note

This value cannot be null.

-field byteBlob

Available when type is FWP_BYTE_BLOB_TYPE.

A pointer to a FWP_BYTE_BLOB structure.

Note

FWP_BYTE_BLOB structure cannot be null.

-field sid

Available when type is FWP_SID.

A pointer to a security identifier (SID) structure.

Note

This security identifier cannot be null.

-field sd

Available when type is FWP_SECURITY_DESCRIPTOR_TYPE.

A pointer to a security descriptor contained in a FWP_BYTE_BLOB structure.

Note

 Security descriptors cannot be null when used in filter conditions. Moreover, they need to be in self-relative format.

-field tokenInformation

Available when type is FWP_TOKEN_INFORMATION_TYPE.

A pointer to token information contained in a FWP_TOKEN_INFORMATION structure.

-field tokenAccessInformation

Available when type is FWP_TOKEN_ACCESS_INFORMATION_TYPE.

A pointer to token access information contained in a FWP_BYTE_BLOB structure.

Note

FWP_BYTE_BLOB structure cannot be null.

-field unicodeString

Available when type is FWP_UNICODE_STRING_TYPE.

A pointer to a null-terminated unicode string.

Note

This value cannot be null.

-field byteArray6

Available when type is FWP_BYTE_ARRAY6_TYPE.

A pointer to a FWP_BYTE_ARRAY6 structure.

Note

This value cannot be null.

Note

Available only in Windows 7 and Windows Server 2008 R2.

-field bitmapArray64

-field v4AddrMask

Available when type is FWP_V4_ADDR_MASK.

A pointer to an IPv4 address contained in an FWP_V4_ADDR_AND_MASK structure.

-field v6AddrMask

Available when type is FWP_V6_ADDR_MASK.

A pointer to an IPv6 address contained in an FWP_V6_ADDR_AND_MASK structure.

-field rangeValue

Available when type is FWP_RANGE_TYPE.

A pointer to a range contained in an FWP_RANGE0 structure.

-remarks

The data type of FWP_CONDITION_VALUE0 must be compatible with the data type of the FWP_VALUE0 to which it is being compared. However, this does not mean the data types necessarily need to be the same. For example, an FWP_V4_ADDR_MASK can be compared to an FWP_UINT32 containing an IPv4 address. See FWP_MATCH_TYPE for detailed information about FWP_CONDITION_VALUE0 and FWP_VALUE0 compatibility rules.

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

-see-also

FWP_BYTE_ARRAY16

FWP_BYTE_ARRAY6

FWP_BYTE_BLOB

FWP_RANGE0

FWP_V4_ADDR_AND_MASK

FWP_V6_ADDR_AND_MASK

FWP_VALUE0

Windows Filtering Platform API Structures