Skip to content

Latest commit

 

History

History
187 lines (116 loc) · 5.9 KB

ns-fwpmtypes-fwpm_provider_context1.md

File metadata and controls

187 lines (116 loc) · 5.9 KB
UID title description old-location tech.root ms.assetid ms.date ms.keywords f1_keywords dev_langs 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 topic_type api_type api_location api_name targetos req.typenames req.redist ms.custom
NS:fwpmtypes.FWPM_PROVIDER_CONTEXT1_
FWPM_PROVIDER_CONTEXT1 (fwpmtypes.h)
Stores the state associated with a provider context. (FWPM_PROVIDER_CONTEXT1)
fwp\fwpm_provider_context1_struct.htm
fwp
34727579-9baf-4d50-b973-e864ddf651b0
12/05/2018
FWPM_PROVIDER_CONTEXT1, FWPM_PROVIDER_CONTEXT1 structure [Filtering], FWPM_PROVIDER_CONTEXT1_, FWPM_PROVIDER_CONTEXT_FLAG_PERSISTENT, fwp.fwpm_provider_context1_struct, fwpmtypes/FWPM_PROVIDER_CONTEXT1
fwpmtypes/FWPM_PROVIDER_CONTEXT1
c++
fwpmtypes.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Fwpmtypes.idl
APIRef
kbSyntax
HeaderDef
Fwpmtypes.h
FWPM_PROVIDER_CONTEXT1
Windows
FWPM_PROVIDER_CONTEXT1
19H1

FWPM_PROVIDER_CONTEXT1 structure

-description

The FWPM_PROVIDER_CONTEXT1 structure stores the state associated with a provider context. FWPM_PROVIDER_CONTEXT2 is available. For Windows Vista, FWPM_PROVIDER_CONTEXT0 is available.

-struct-fields

-field providerContextKey

Uniquely identifies the provider context. If the GUID is zero-initialized in the call to FwpmProviderContextAdd1, Base Filtering Engine (BFE) will generate one.

-field displayData

Allows provider contexts to be annotated in a human-readable form. The FWPM_DISPLAY_DATA0 structure is required.

-field flags

Possible values:

Provider context flag Meaning
FWPM_PROVIDER_CONTEXT_FLAG_PERSISTENT The object is persistent, that is, it survives across BFE stop/start.

-field providerKey

GUID of the policy provider that manages this object.

-field providerData

An FWP_BYTE_BLOB structure that contains optional provider-specific data that allows providers to store additional context info with the object.

-field type

A FWPM_PROVIDER_CONTEXT_TYPE value specifying the type of provider context..

-field keyingPolicy

Available when type is FWPM_IPSEC_KEYING_CONTEXT.

See IPSEC_KEYING_POLICY0 for more information.

-field ikeQmTransportPolicy

Available when type is FWPM_IPSEC_IKE_QM_TRANSPORT_CONTEXT.

See IPSEC_TRANSPORT_POLICY1 for more information.

-field ikeQmTunnelPolicy

Available when type is FWPM_IPSEC_IKE_QM_TUNNEL_CONTEXT.

See IPSEC_TUNNEL_POLICY1 for more information.

-field authipQmTransportPolicy

Available when type is FWPM_IPSEC_AUTHIP_QM_TRANSPORT_CONTEXT.

See IPSEC_TRANSPORT_POLICY1 for more information.

-field authipQmTunnelPolicy

Available when type is FWPM_IPSEC_AUTHIP_QM_TUNNEL_CONTEXT.

See IPSEC_TUNNEL_POLICY1 for more information.

-field ikeMmPolicy

Available when type is FWPM_IPSEC_IKE_MM_CONTEXT.

See IKEEXT_POLICY1 for more information.

-field authIpMmPolicy

Available when type is FWPM_IPSEC_AUTHIP_MM_CONTEXT.

See IKEEXT_POLICY1 for more information.

-field dataBuffer

Available when type is FWPM_GENERAL_CONTEXT.

See FWP_BYTE_BLOB for more information.

-field classifyOptions

Available when type is FWPM_CLASSIFY_OPTIONS_CONTEXT.

See FWPM_CLASSIFY_OPTIONS0 for more information.

-field ikeV2QmTunnelPolicy

Available when type is FWPM_IPSEC_IKEV2_QM_TUNNEL_CONTEXT.

See IPSEC_TUNNEL_POLICY1 for more information.

-field ikeV2MmPolicy

Available when type is FWPM_IPSEC_IKEV2_MM_CONTEXT.

See IKEEXT_POLICY1 for more information.

-field idpOptions

Available when type is FWPM_IPSEC_DOSP_CONTEXT.

See IPSEC_DOSP_OPTIONS0 for more information.

-field providerContextId

LUID identifying the context. This is the context value stored in the FWPS_FILTER1 structure for filters that reference a provider context. The FWPS_FILTER1 structure is documented in the WDK.

-remarks

The first seven elements of the union are information supplied when adding objects.

The last element is additional information returned when getting/enumerating objects.

-see-also

FWPM_DISPLAY_DATA0

FWPM_PROVIDER_CONTEXT_TYPE

FWP_BYTE_BLOB

FwpmProviderContextAdd1

IKEEXT_POLICY1

IPSEC_DOSP_OPTIONS0

IPSEC_KEYING_POLICY0

IPSEC_TRANSPORT_POLICY1

IPSEC_TUNNEL_POLICY1

Windows Filtering Platform API Structures